Interface Cache.Backend<K,V>
- Type Parameters:
K- the key classV- the value class
- All Known Implementing Classes:
AbstractBlobStore,CachingBlobStore,FileBlobStore,MemoryBlobStore
- Enclosing class:
Cache<K,V extends Cache.Value>
public static interface Cache.Backend<K,V>
A cache backend that can load objects from persistent storage.
-
Method Summary
-
Method Details
-
load
Load the object. The method does not need to be synchronized (it is synchronized in the cache)- Parameters:
key- the key- Returns:
- the value
-