Class/Object

com.twitter.storehaus.cache

MutableMapCache

Related Docs: object MutableMapCache | package cache

Permalink

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

MutableCache backed by a scala mutable Map.

Linear Supertypes
MutableCache[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableMapCache
  2. MutableCache
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableMapCache(m: Map[K, V])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +=(kv: (K, V)): MutableMapCache.this.type

    Permalink
    Definition Classes
    MutableMapCacheMutableCache
  4. def -=(k: K): MutableMapCache.this.type

    Permalink
    Definition Classes
    MutableCache
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clear: MutableMapCache.this.type

    Permalink
    Definition Classes
    MutableMapCacheMutableCache
  8. def clone(): AnyRef

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

    Permalink

    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
    MutableCache
  10. def empty: MutableMapCache[K, V]

    Permalink

    Returns an empty version of this specific cache implementation.

    Returns an empty version of this specific cache implementation.

    Definition Classes
    MutableMapCacheMutableCache
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    MutableMapCacheMutableCache
  14. def filter(pred: ((K, V)) ⇒ Boolean): MutableCache[K, V]

    Permalink
    Definition Classes
    MutableCache
  15. def finalize(): Unit

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

    Permalink

    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
    MutableMapCacheMutableCache
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    MutableCache
  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    MutableMapCacheMutableCache
  21. final def isInstanceOf[T0]: Boolean

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

    Permalink

    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
    MutableMapCacheMutableCache
  23. def multiInsert(kvs: Map[K, V]): MutableMapCache.this.type

    Permalink
    Definition Classes
    MutableCache
  24. def multiRemove(ks: Set[K]): MutableMapCache.this.type

    Permalink
    Definition Classes
    MutableCache
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MutableCache[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped