package caching
- Alphabetic
- Public
- Protected
Type Members
- abstract class Cache[Key, Value] extends AnyRef
A cache.
A cache. Used for caching values.
The strategy used for eviction is implementation-dependent.
- Key
The type of the key used to look up values.
- Value
The type of the cached value.
- abstract class ConcurrentCache[Key, Value] extends Cache[Key, Value]
A cache that is concurrency-safe.
A cache that is concurrency-safe. This means it is able to look up a value, and if it does not exist, populate the value at that key, in a single, atomic action.
- Key
The type of the key used to look up values.
- Value
The type of the cached value.
- final class NoCache[Key, Value] extends ConcurrentCache[Key, Value]
Value Members
- object Cache
- object CaffeineCache
- object SizedCache