|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
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.CacheLoaderCacheStore
public class CacheLoaderCacheStore
A read-only CacheStore that wraps a CacheLoader.
Nested Class Summary | |
---|---|
static class |
CacheLoaderCacheStore.Iterable An extension to the CacheLoaderCacheStore that implements the IterableCacheLoader interface. |
Field Summary | |
---|---|
protected CacheLoader |
m_loader The CacheLoader to delegate to. |
Constructor Summary | |
---|---|
CacheLoaderCacheStore(CacheLoader loader) The CacheLoader to delegate to. |
Method Summary | |
---|---|
java.lang.Object |
load(java.lang.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. |
java.util.Map |
loadAll(java.util.Collection colKeys) Return the values associated with each the specified keys in the passed collection. |
static CacheStore |
wrapCacheLoader(CacheLoader loader) Create a CacheStore wrapper for the passed CacheLoader. |
Methods inherited from class com.tangosol.net.cache.AbstractCacheStore |
---|
erase, eraseAll, store, storeAll |
Field Detail |
---|
protected CacheLoader m_loader
Constructor Detail |
---|
public CacheLoaderCacheStore(CacheLoader loader)
Method Detail |
---|
public static CacheStore wrapCacheLoader(CacheLoader loader)
loader
- the CacheLoader to wrappublic java.lang.Object load(java.lang.Object oKey)
load
in interface CacheLoader
load
in class AbstractCacheLoader
oKey
- key whose associated value is to be returnedpublic java.util.Map loadAll(java.util.Collection colKeys)
loadAll
in interface CacheLoader
loadAll
in class AbstractCacheLoader
colKeys
- a collection of keys to load
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |