Package

org.locationtech.geomesa.utils

cache

Permalink

package cache

Visibility
  1. Public
  2. All

Type Members

  1. class ByteArrayCacheKey extends LazyLogging

    Permalink

    Cache key for comparing byte arrays

  2. class FilePersistence extends PropertiesPersistence with LazyLogging

    Permalink

    Simple persistence strategy that keeps values in memory and writes them to a prop file on disk.

  3. trait PropertiesPersistence extends AnyRef

    Permalink

    Trait for persisting properties to some kind of durable storage

  4. class SoftThreadLocal[T <: AnyRef] extends AnyRef

    Permalink

    A value per thread wrapped in SoftReferences, which allows it to be reclaimed by garbage-collection when needed.

  5. class SoftThreadLocalCache[K, V <: AnyRef] extends Map[K, V] with MapLike[K, V, SoftThreadLocalCache[K, V]]

    Permalink

    Creates a per-thread cache of values wrapped in SoftReferences, which allows them to be reclaimed by garbage-collection when needed.

    Creates a per-thread cache of values wrapped in SoftReferences, which allows them to be reclaimed by garbage-collection when needed.

    K

    key type

    V

    value type

  6. class ThreadLocalCache[K <: AnyRef, V <: AnyRef] extends Map[K, V] with MapLike[K, V, ThreadLocalCache[K, V]] with Runnable with Closeable

    Permalink

    Creates a per-thread cache of values with a timed expiration.

    Creates a per-thread cache of values with a timed expiration.

    Map operations will only affect/reflect the state of the current thread. Additional methods globalIterator and estimatedGlobalSize are provided for global views across all threads, which generally should only be used for debugging.

    Since caches are only cleaned up when accessed, uses an asynchronous thread to actively clean up any orphaned thread local values

    K

    key type

    V

    value type

  7. trait Ticker extends AnyRef

    Permalink

Value Members

  1. object CacheKeyGenerator

    Permalink
  2. object ThreadLocalCache

    Permalink
  3. object Ticker

    Permalink

Ungrouped