Trait that describes an asynchronous cache.
Adds ability to handle async cache events.
Adds ability to register AsyncCacheEventHandler
s.
AsyncCache Implementation that in addition to a build-load function requires a load function to be implemented that is called on cache-miss.
Adapts an AsyncCache to the SyncCache interface.
Configuration values (all are mandatory):
An implementation of the DerivedAsyncCacheBase
where all transformations are synchronous and return an
Iterable of transformed key/value pairs for each key/value pair of the parent/source cache.
An implementation of the DerivedAsyncCacheBase
where all transformations are asynchronous and return a
Future[Iterable] of transformed key/value pairs for each key/value pair of the parent/source cache.
This trait provides a sync cache implementation with ability to register SyncCacheEventHandler
s which will be notified when the cache content is reloaded.
An synchronous cache.
Adds ability to handle sync cache events.
Adds ability to register SyncCacheEventHandler
s.
SyncCache Implementation.
An implementation of the DerivedAsyncCacheImpl
that maintains the key type and only transforms the cache values.
An implementation of the DerivedAsyncCacheWithAsyncTransformImpl
that maintains the key type and asynchronously transforms the cache values only.
An implementation of the DerivedSyncCacheImpl
that maintains the key type and only transforms the cache values.