|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.AbstractCacheLoader
com.tangosol.net.cache.AbstractCacheStore
com.tangosol.net.cache.ReadWriteBackingMap.CacheLoaderCacheStore
public static class ReadWriteBackingMap.CacheLoaderCacheStore
A CacheStore wrapped around a CacheLoader.
Constructor Summary | |
---|---|
ReadWriteBackingMap.CacheLoaderCacheStore(CacheLoader loader) Construct a CacheLoaderCacheStore. |
Method Summary | |
---|---|
protected CacheLoader |
getCacheLoader() The wrapped CacheLoader. |
Object |
load(Object oKey) Return the value associated with the specified key, or null if the key does not have an associated value in the underlying store. |
Map |
loadAll(Collection colKeys) Return the values associated with each the specified keys in the passed collection. |
Methods inherited from class com.tangosol.net.cache.AbstractCacheStore |
---|
erase, eraseAll, store, storeAll |
Constructor Detail |
---|
public ReadWriteBackingMap.CacheLoaderCacheStore(CacheLoader loader)
loader
- the CacheLoader to wrapMethod Detail |
---|
public Object load(Object oKey)
load
in interface CacheLoader
load
in class AbstractCacheLoader
oKey
- key whose associated value is to be returnedpublic Map loadAll(Collection colKeys)
loadAll
in interface CacheLoader
loadAll
in class AbstractCacheLoader
colKeys
- a collection of keys to loadprotected CacheLoader getCacheLoader()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |