class CaffeineCache[K, V] extends Cache[K, V]
- Alphabetic
- By Inheritance
- CaffeineCache
- Cache
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CaffeineCache(underlying: Cache[K, V])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def estimatedSize: Long
Returns the estimated size provided by the underlying cache, -1 if not available.
Returns the estimated size provided by the underlying cache, -1 if not available.
- Definition Classes
- CaffeineCache → Cache
- def estimatedWeight: Long
Returns the estimated weight provided by the underlying cache, -1 if not available.
Returns the estimated weight provided by the underlying cache, -1 if not available.
- Definition Classes
- CaffeineCache → Cache
- def evictionCount: Long
Returns the eviction count provided by the underlying cache, -1 if not available.
Returns the eviction count provided by the underlying cache, -1 if not available.
- Definition Classes
- CaffeineCache → Cache
- def evictionWeight: Long
Returns the eviction weight provided by the underlying cache, -1 if not available.
Returns the eviction weight provided by the underlying cache, -1 if not available.
- Definition Classes
- CaffeineCache → Cache
- def get(key: K): V
Returns the value associated to a key.
Returns the value associated to a key.
It returns null if the key is not present in the cache.
- Definition Classes
- CaffeineCache → Cache
- def getAll(keys: Iterable[_ <: K]): Map[K, V]
Returns the values associated to the keys.
Returns the values associated to the keys.
It returns only the entries that are already present in the cache.
- Definition Classes
- CaffeineCache → Cache
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def put(key: K, value: V): Unit
Associates a value with the provided key.
Associates a value with the provided key.
If the key is already present, it updates the value.
- Definition Classes
- CaffeineCache → Cache
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val underlying: Cache[K, V]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)