A global prefix that should be prepended to all cache keys. Useful for namespacing if you are sharing your cache with another application.
The value used to separate different parts of a cache key
If true, the Future
returned by caching
(or memoize
) will not complete
until the cache write has completed.
If false, the Future
will complete as soon as the value has been computed,
and the cache write will happen asynchronously.
The latter was the behaviour until ScalaCache 0.9.2,
but the former is more useful in many situations.
A global prefix that should be prepended to all cache keys.
A global prefix that should be prepended to all cache keys. Useful for namespacing if you are sharing your cache with another application.
The value used to separate different parts of a cache key
If true, the Future
returned by caching
(or memoize
) will not complete
until the cache write has completed.
If true, the Future
returned by caching
(or memoize
) will not complete
until the cache write has completed.
If false, the Future
will complete as soon as the value has been computed,
and the cache write will happen asynchronously.
The latter was the behaviour until ScalaCache 0.9.2,
but the former is more useful in many situations.
Configuration options for ScalaCache
A global prefix that should be prepended to all cache keys. Useful for namespacing if you are sharing your cache with another application.
The value used to separate different parts of a cache key
If true, the
Future
returned bycaching
(ormemoize
) will not complete until the cache write has completed. If false, theFuture
will complete as soon as the value has been computed, and the cache write will happen asynchronously. The latter was the behaviour until ScalaCache 0.9.2, but the former is more useful in many situations.