The maximum capacity of the cache.
The maximum capacity of the cache.
The default value is 500 files or 10 GB space.
The context used by the cache to spawn future computations.
The context used by the cache to spawn future computations.
The default value is ExecutionContext.global
.
The directory where the cached values are stored.
The directory where the cached values are stored. If this directory does not exist upon cache creation, it will be created on the fly.
By default this will lazily create a temporary directory deleted on application exit.
If this value is set via folder_=
, that setting replaces the default behavior.
A configuration builder is a mutable version of
Config
and will be implicitly converted to the latter when passed intoProducer.apply
.