Package

geotrellis.spark.util

cache

Permalink

package cache

Visibility
  1. Public
  2. All

Type Members

  1. trait AtomicCache[K, V] extends Cache[K, V]

    Permalink

    Atomic cache provides an atomic getOrInsert(k,v) method This cache assumes that (k,v) pair is immutable

  2. trait BoundedCache[K, V] extends Cache[K, V]

    Permalink

    A hash backed cache with a size boundary Operations on this cache may required O(N) time to execute (N = size of cache)

  3. trait Cache[K, V] extends Serializable

    Permalink

    Base trait for a caching strategy

    Base trait for a caching strategy

    K is the cache key V is the cache value

  4. class FileCache extends Cache[Long, Array[Byte]]

    Permalink
  5. trait HashBackedCache[K, V] extends Cache[K, V]

    Permalink

    An unbounded hash-backed cache Operations on this cache execute in O(1) time

  6. class LRUCache[K, V] extends HashBackedCache[K, V] with OrderedBoundedCache[K, V] with AtomicCache[K, V] with LoggingCache[K, V]

    Permalink
  7. trait LoggingCache[K, V] extends Cache[K, V]

    Permalink
  8. class MRUCache[K, V] extends HashBackedCache[K, V] with OrderedBoundedCache[K, V] with AtomicCache[K, V] with LoggingCache[K, V]

    Permalink
  9. class NoCache[K, V] extends Cache[K, V]

    Permalink

    A Cache Strategy that completely ignores caching and always returns the input object Operations on this cache execute in O(1) time

  10. trait OrderedBoundedCache[K, V] extends BoundedCache[K, V]

    Permalink

Ungrouped