mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/observation/RemoteObservationListener.java
private void removeIfKnownAndLoad(final Observation observation)
        {
            //make sure that the observation doesn't already exist, if it does this call will remove it
            removeObservationIfKnown(observation.getUuid());

            //persist observation
            try
            {
                m_ObservationStore.persist(observation);
            }
            catch (final PersistenceFailedException | IllegalArgumentException | ValidationFailedException exception)
            {
                m_Logging.error(exception, "The remote observation with UUID %s failed to be persisted.", 
                    observation.getUuid());
            }
        }
/**
         * Removes the observation if it already exists and loads the observation.
         * @param observation
         *     the observation to load
         */
Removes the observation if it already exists and loads the observation.
@param observation
the observation to load
Removes the observation if it already exists and loads the observation . @param observation the observation to load
private void removeIfKnownAndLoad(final Observation observation)
        {
            removeObservationIfKnown(observation.getUuid());
            try
            {
                m_ObservationStore.persist(observation);
            }
            catch (final PersistenceFailedException | IllegalArgumentException | ValidationFailedException exception)
            {
                m_Logging.error(exception, "The remote observation with UUID %s failed to be persisted.", 
                    observation.getUuid());
            }
        }
private void removeIfKnownAndLoad ( final Observation observation ) { removeObservationIfKnown ( observation . getUuid ( ) ) ; try { m_ObservationStore . persist ( observation ) ; } catch ( final PersistenceFailedException | IllegalArgumentException | ValidationFailedException exception ) { m_Logging . error ( exception , "The remote observation with UUID %s failed to be persisted." , observation . getUuid ( ) ) ; } }
Removes the observation if it already exists and loads the observation.
Removes the observation if it already exists and loads the observation .
//make sure that the observation doesn't already exist, if it does this call will remove it //persist observation