Scaffeine

object Scaffeine
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(): Scaffeine[Any, Any]

Constructs a new Scaffeine instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.

Constructs a new Scaffeine instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.

Returns:

a new instance with default settings

def apply(spec: CaffeineSpec): Scaffeine[Any, Any]

Constructs a new Scaffeine instance with the settings specified in spec.

Constructs a new Scaffeine instance with the settings specified in spec.

Value parameters:
spec

an instance of com.github.benmanes.caffeine.cache.CaffeineSpec

Returns:

a new instance with the specification's settings

def apply(spec: String): Scaffeine[Any, Any]

Constructs a new Scaffeine instance with the settings specified in spec.

Constructs a new Scaffeine instance with the settings specified in spec.

Value parameters:
spec

a java.lang.String in the format specified by com.github.benmanes.caffeine.cache.CaffeineSpec

Returns:

a new instance with the specification's settings