Try to load a value from the cache with the given key.
Try to load a value from the cache with the given key.
This will try to fetch the value from the in-memory cache with no remote call on cache-misses.
unique key of the needed value.
an optional value if found, None otherwise.
Test if the cache has been started.
Test if the cache has been started.
Register a SyncCacheEventHandler
to be notified for cache events.
Register a SyncCacheEventHandler
to be notified for cache events.
- the handler to be notified for cache events
Stop the cache from loading.
Stop the cache from loading.
Starts the loading of the cache.
Starts the loading of the cache.
An synchronous cache.
SyncCache is expected to be complete in memory and thus return value as Option[V] indicating that no values are lazy-loaded on cache-miss.
28/Jul/2014 15:58