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.
Notifies all registered SyncCacheEventHandler
's that
cache
was reloaded.
Notifies all registered SyncCacheEventHandler
's that
cache
was reloaded.
- cache that was reloaded
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.
SyncCache Implementation.
28/Jul/2014 15:58