com.twitter.storehaus.cache

MutableLRUCache

class MutableLRUCache[K, V] extends JMapCache[K, V]

Source
MutableLRUCache.scala
Linear Supertypes
JMapCache[K, V], MutableCache[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MutableLRUCache
  2. JMapCache
  3. MutableCache
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableLRUCache(capacity: Int)

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)): MutableLRUCache.this.type

    Definition Classes
    JMapCacheMutableCache
  5. def -=(k: K): MutableLRUCache.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. def clear: MutableLRUCache.this.type

    Definition Classes
    JMapCacheMutableCache
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. 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
    JMapCacheMutableCache
  12. def empty: JMapCache[K, V]

    Returns an empty version of this specific cache implementation.

    Returns an empty version of this specific cache implementation.

    Definition Classes
    JMapCacheMutableCache
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    MutableCache
  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. 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
    JMapCacheMutableCache
  19. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    MutableCache
  21. def hashCode(): Int

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

    Definition Classes
    MutableLRUCacheJMapCacheMutableCache
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. 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
    JMapCacheMutableCache
  25. val m: Map[K, V]

    Definition Classes
    JMapCache
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from JMapCache[K, V]

Inherited from MutableCache[K, V]

Inherited from AnyRef

Inherited from Any