Trait/Object

com.twitter.storehaus.cache

MutableCache

Related Docs: object MutableCache | package cache

Permalink

trait MutableCache[K, V] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MutableCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def +=(kv: (K, V)): MutableCache.this.type

    Permalink
  2. abstract def clear: MutableCache.this.type

    Permalink
  3. abstract def empty: MutableCache[K, V]

    Permalink

    Returns an empty version of this specific cache implementation.

  4. abstract def evict(k: K): Option[V]

    Permalink
  5. abstract 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.

  6. abstract def hit(k: K): Option[V]

    Permalink
  7. abstract def iterator: Iterator[(K, V)]

    Permalink

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

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def -=(k: K): MutableCache.this.type

    Permalink
  4. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink

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

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filter(pred: ((K, V)) ⇒ Boolean): MutableCache[K, V]

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def multiInsert(kvs: Map[K, V]): MutableCache.this.type

    Permalink
  17. def multiRemove(ks: Set[K]): MutableCache.this.type

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped