congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
org.n52.sos.cache
Code IndexAdd Tabnine to your IDE (free)

How to use org.n52.sos.cache

Best Java code snippets using org.n52.sos.cache (Showing top 20 results out of 315)

origin: 52North/SOS

@Override
public void removeComponentAggregationProcedure(String identifier) {
  CacheValidation.notNullOrEmpty(AGGREGATED_PROCEDURE, identifier);
  logRemoving(AGGREGATED_PROCEDURE, identifier);
  removeValue(componentAggregationProcedures, identifier);
}
origin: org.n52.sensorweb.sos/cache

@Override
public WritableContentCache get() {
  return (InMemoryCacheImpl) new InMemoryCacheImpl().setSupportedTypeRepository(getSupportedTypeRepository());
}
origin: org.n52.sensorweb.sos/cache

/**
 * Creates a new empty synchronized set.
 *
 * @param <T> the element type
 *
 * @return a synchronized set
 */
protected static <T> Set<T> newSynchronizedSet() {
  return newSynchronizedSet(null);
}
origin: org.n52.sensorweb.sos/admin-controller

@Override
protected boolean isValid(SosContentCache cache, String id) {
  return cache.hasObservableProperty(id);
}
origin: 52North/SOS

/**
 * 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);
}
origin: 52North/SOS

default void setObservablePropertiesForCompositePhenomenon(String compositePhenomenon,
                              Collection<String> observableProperty) {
  clearObservablePropertiesForCompositePhenomenon(compositePhenomenon);
  addObservablePropertiesForCompositePhenomenon(compositePhenomenon, observableProperty);
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<Integer> getEpsgCodes() {
  return copyOf(this.epsgCodes);
}
origin: org.n52.sensorweb.sos/cache

/**
 * 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);
}
origin: 52North/SOS

/**
 * @return if the minimal result time is set
 */
default boolean hasMinResultTime() {
  return getMinResultTime() != null;
}
origin: 52North/SOS

/**
 * 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;
}
origin: org.n52.sensorweb.sos/cache

/**
 * 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);
}
origin: 52North/SOS

/**
 * @return if the maximal result time is set
 */
default boolean hasMaxResultTime() {
  return getMaxResultTime() != null;
}
origin: org.n52.sensorweb.sos/cache

@Override
public void removeTypeInstanceProcedure(String identifier) {
  CacheValidation.notNullOrEmpty(TYPE_PROCEDURE, identifier);
  logRemoving(TYPE_PROCEDURE, identifier);
  removeValue(typeInstanceProcedures, identifier);
}
origin: 52North/SOS

@Override
public WritableContentCache get() {
  return (InMemoryCacheImpl) new InMemoryCacheImpl().setSupportedTypeRepository(getSupportedTypeRepository());
}
origin: org.n52.sensorweb.sos/cache

@Override
public ReferencedEnvelope getGlobalEnvelope() {
  return copyOf(this.globalEnvelope);
}
origin: 52North/SOS

/**
 * Creates a new empty synchronized set.
 *
 * @param <T> the element type
 *
 * @return a synchronized set
 */
protected static <T> Set<T> newSynchronizedSet() {
  return newSynchronizedSet(null);
}
origin: org.n52.sensorweb.sos/cache

@Override
public void removeComponentAggregationProcedure(String identifier) {
  CacheValidation.notNullOrEmpty(AGGREGATED_PROCEDURE, identifier);
  logRemoving(AGGREGATED_PROCEDURE, identifier);
  removeValue(componentAggregationProcedures, identifier);
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getOfferings() {
  return copyOf(this.offerings);
}
origin: 52North/SOS

@Override
public void removeTypeInstanceProcedure(String identifier) {
  CacheValidation.notNullOrEmpty(TYPE_PROCEDURE, identifier);
  logRemoving(TYPE_PROCEDURE, identifier);
  removeValue(typeInstanceProcedures, identifier);
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getPublishedFeatureOfInterest() {
  return copyOf(publishedFeatureOfInterest);
}
org.n52.sos.cache

Most used classes

  • SosContentCache
  • ContentCache
  • SosWritableContentCache
  • CacheValidation
  • AbstractContentCache
    TODO JavaDoc
  • ContentCacheFactoryImpl,
  • InMemoryCacheImpl,
  • SpatialCache,
  • TemporalCache,
  • WritableCompositePhenomenonCache,
  • WritableContentCache,
  • WriteableTimeCache,
  • DefaultContentModificationListener,
  • SosContentCacheControllerImpl$CompleteUpdate,
  • SosContentCacheControllerImpl$PartialUpdate,
  • SosContentCacheControllerImpl,
  • CompleteCacheUpdate,
  • DeleteObservationCacheFeederDAO,
  • DeleteObservationUpdate
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now