com.twitter.storehaus.cache

MutableTTLCache

class MutableTTLCache[K, V] extends MutableCache[K, V]

Linear Supertypes
MutableCache[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MutableTTLCache
  2. MutableCache
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableTTLCache(ttl: Duration, backingCache: MutableCache[K, (Long, V)])(clock: () ⇒ Long)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +=(kv: (K, V)): MutableTTLCache.this.type

    Definition Classes
    MutableTTLCacheMutableCache
  5. def -=(k: K): MutableTTLCache.this.type

    Definition Classes
    MutableCache
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val backingCache: MutableCache[K, (Long, V)]

    Attributes
    protected
  10. def clear: MutableTTLCache.this.type

    Definition Classes
    MutableTTLCacheMutableCache
  11. val clock: () ⇒ Long

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def contains(k: K): Boolean

    Returns true if the cache contains a value for the supplied key, false otherwise.

    Returns true if the cache contains a value for the supplied key, false otherwise.

    Definition Classes
    MutableTTLCacheMutableCache
  14. def empty: MutableTTLCache[K, V]

    Returns an empty version of this specific cache implementation.

    Returns an empty version of this specific cache implementation.

    Definition Classes
    MutableTTLCacheMutableCache
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def evict(k: K): Option[V]

    Definition Classes
    MutableTTLCacheMutableCache
  18. def filter(pred: ((K, V)) ⇒ Boolean): MutableCache[K, V]

    Definition Classes
    MutableCache
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def get(k: K): Option[V]

    Returns an option containing the value stored for the supplied key or None if the key is not present in the cache.

    Returns an option containing the value stored for the supplied key or None if the key is not present in the cache.

    Definition Classes
    MutableTTLCacheMutableCache
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getOrElseUpdate(k: K, v: ⇒ V): V

    Definition Classes
    MutableCache
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def hit(k: K): Option[V]

    Definition Classes
    MutableTTLCacheMutableCache
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def iterator: Iterator[(K, V)]

    Returns an iterator of all key-value pairs inside of this cache.

    Returns an iterator of all key-value pairs inside of this cache.

    Definition Classes
    MutableTTLCacheMutableCache
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def removeExpired: Unit

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toNonExpiredMap: Map[K, V]

  33. def toRemove: Set[K]

    Attributes
    protected
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. val ttl: Duration

  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MutableCache[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped