Codota Logo
org.n52.sos.cache
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

default void setObservablePropertiesForCompositePhenomenon(String compositePhenomenon,
                              Collection<String> observableProperty) {
  clearObservablePropertiesForCompositePhenomenon(compositePhenomenon);
  addObservablePropertiesForCompositePhenomenon(compositePhenomenon, observableProperty);
}
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: org.n52.sensorweb.sos/cache

@Override
public Set<String> getPublishedFeatureOfInterest() {
  return copyOf(publishedFeatureOfInterest);
}
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 Set<Integer> getEpsgCodes() {
  return copyOf(this.epsgCodes);
}
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 ReferencedEnvelope getGlobalEnvelope() {
  return copyOf(this.globalEnvelope);
}
org.n52.sos.cache

Most used classes

  • SosContentCache
    This encapsulates relationships between the different metadata components of this SOS (e.g. fois 4 o
  • ContentCache
  • SosWritableContentCache
    Extension of ContentCache to allow the manipulation of the cache.
  • CacheValidation
    TODO JavaDoc
  • AbstractContentCache
    TODO JavaDoc
  • ContentCacheFactoryImpl,
  • InMemoryCacheImpl,
  • SpatialCache,
  • TemporalCache,
  • WritableCompositePhenomenonCache,
  • WritableContentCache,
  • WriteableTimeCache,
  • DefaultContentModificationListener,
  • SosContentCacheControllerImpl$CompleteUpdate,
  • SosContentCacheControllerImpl$PartialUpdate,
  • SosContentCacheControllerImpl,
  • CompleteCacheUpdate,
  • DeleteObservationCacheFeederDAO,
  • DeleteObservationUpdate
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now