@Override public void removeComponentAggregationProcedure(String identifier) { CacheValidation.notNullOrEmpty(AGGREGATED_PROCEDURE, identifier); logRemoving(AGGREGATED_PROCEDURE, identifier); removeValue(componentAggregationProcedures, identifier); }
@Override public WritableContentCache get() { return (InMemoryCacheImpl) new InMemoryCacheImpl().setSupportedTypeRepository(getSupportedTypeRepository()); }
/** * Creates a new empty synchronized set. * * @param <T> the element type * * @return a synchronized set */ protected static <T> Set<T> newSynchronizedSet() { return newSynchronizedSet(null); }
@Override protected boolean isValid(SosContentCache cache, String id) { return cache.hasObservableProperty(id); }
/** * Sets the new global result envelope. * * @param min the minimal result time * @param max the maximal result time */ default void setResultTime(DateTime min, DateTime max) { setMinResultTime(min); setMaxResultTime(max); }
default void setObservablePropertiesForCompositePhenomenon(String compositePhenomenon, Collection<String> observableProperty) { clearObservablePropertiesForCompositePhenomenon(compositePhenomenon); addObservablePropertiesForCompositePhenomenon(compositePhenomenon, observableProperty); }
@Override public Set<Integer> getEpsgCodes() { return copyOf(this.epsgCodes); }
/** * Creates a new empty synchronized map. * * @param <K> the key type * @param <V> the value type * * @return the synchronized map */ protected static <K, V> Map<K, V> newSynchronizedMap() { return newSynchronizedMap(null); }
/** * @return if the minimal result time is set */ default boolean hasMinResultTime() { return getMinResultTime() != null; }
/** * Returns the whether or not the maximal result time for the specified offering is set. * * @param offering the offering identifier * * @return if the maximal result time is set */ default boolean hasMaxResultTimeForOffering(String offering) { return getMaxResultTimeForOffering(offering) != null; }
/** * Creates a new empty synchronized {@link BiMap}. * * @param <K> the key type * @param <V> the value type * * @return the synchronized map */ protected static <K, V> BiMap<K, V> newSynchronizedBiMap() { return newSynchronizedBiMap(null); }
/** * @return if the maximal result time is set */ default boolean hasMaxResultTime() { return getMaxResultTime() != null; }
@Override public void removeTypeInstanceProcedure(String identifier) { CacheValidation.notNullOrEmpty(TYPE_PROCEDURE, identifier); logRemoving(TYPE_PROCEDURE, identifier); removeValue(typeInstanceProcedures, identifier); }
@Override public WritableContentCache get() { return (InMemoryCacheImpl) new InMemoryCacheImpl().setSupportedTypeRepository(getSupportedTypeRepository()); }
@Override public ReferencedEnvelope getGlobalEnvelope() { return copyOf(this.globalEnvelope); }
/** * Creates a new empty synchronized set. * * @param <T> the element type * * @return a synchronized set */ protected static <T> Set<T> newSynchronizedSet() { return newSynchronizedSet(null); }
@Override public void removeComponentAggregationProcedure(String identifier) { CacheValidation.notNullOrEmpty(AGGREGATED_PROCEDURE, identifier); logRemoving(AGGREGATED_PROCEDURE, identifier); removeValue(componentAggregationProcedures, identifier); }
@Override public Set<String> getOfferings() { return copyOf(this.offerings); }
@Override public void removeTypeInstanceProcedure(String identifier) { CacheValidation.notNullOrEmpty(TYPE_PROCEDURE, identifier); logRemoving(TYPE_PROCEDURE, identifier); removeValue(typeInstanceProcedures, identifier); }
@Override public Set<String> getPublishedFeatureOfInterest() { return copyOf(publishedFeatureOfInterest); }