class
MutableTTLCache[K, V] extends MutableCache[K, V]
Instance Constructors
-
new
MutableTTLCache(ttl: Duration, backingCache: MutableCache[K, (Long, V)])(clock: () ⇒ Long)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
val
backingCache: MutableCache[K, (Long, V)]
-
-
val
clock: () ⇒ Long
-
def
clone(): AnyRef
-
def
contains(k: K): Boolean
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
evict(k: K): Option[V]
-
def
filter(pred: ((K, V)) ⇒ Boolean): MutableCache[K, V]
-
def
finalize(): Unit
-
def
get(k: K): Option[V]
-
final
def
getClass(): Class[_]
-
def
getOrElseUpdate(k: K, v: ⇒ V): V
-
def
hashCode(): Int
-
def
hit(k: K): Option[V]
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterator: Iterator[(K, V)]
-
def
multiInsert(kvs: Map[K, V]): MutableTTLCache.this.type
-
def
multiRemove(ks: Set[K]): MutableTTLCache.this.type
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
removeExpired: Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toNonExpiredMap: Map[K, V]
-
def
toRemove: Set[K]
-
def
toString(): String
-
val
ttl: Duration
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any