abstract deflookup(k: K): Option[V]

abstract valmaxSize: Long

abstract valsizeOf: (V) ⇒ Long

Return the size of a a given cache item
If items are objects (for example) this might just be: (x) => 1
If items are arrays of ints and the maxSize is in bytes this function might be:
(x) => x.

Return the size of a a given cache item
If items are objects (for example) this might just be: (x) => 1
If items are arrays of ints and the maxSize is in bytes this function might be:
(x) => x.length * 4

Concrete Value Members

final def!=(arg0: AnyRef): Boolean

Definition Classes

AnyRef

final def!=(arg0: Any): Boolean

Definition Classes

Any

final def##(): Int

Definition Classes

AnyRef → Any

def+(other: String): String

Implicit information

This member is added by an implicit conversion from BoundedCache[K, V] to
StringAdd performed by method any2stringadd in scala.Predef.

final defwait(arg0: Long, arg1: Int): Unit

final defwait(arg0: Long): Unit

This member is added by an implicit conversion from BoundedCache[K, V] to
ArrowAssoc[BoundedCache[K, V]] performed by method any2ArrowAssoc in scala.Predef.

Definition Classes

ArrowAssoc

Shadowed Implict Value Members

valself: Any

Implicit information

This member is added by an implicit conversion from BoundedCache[K, V] to
StringAdd performed by method any2stringadd in scala.Predef.

Shadowing

This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.To access this member you can use a type ascription:

(boundedCache: StringAdd).self

Definition Classes

StringAdd

valself: Any

Implicit information

This member is added by an implicit conversion from BoundedCache[K, V] to
StringFormat performed by method any2stringfmt in scala.Predef.

Shadowing

This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.To access this member you can use a type ascription:

Deprecated Value Members

This member is added by an implicit conversion from BoundedCache[K, V] to
ArrowAssoc[BoundedCache[K, V]] performed by method any2ArrowAssoc in scala.Predef.

Shadowing

This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.To access this member you can use a type ascription:

This member is added by an implicit conversion from BoundedCache[K, V] to
Ensuring[BoundedCache[K, V]] performed by method any2Ensuring in scala.Predef.

Shadowing

This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.To access this member you can use a type ascription: