|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 | |
---|---|
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. |
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 wrap
public Object load(Object oKey)
load
in interface CacheLoader
load
in class AbstractCacheLoader
oKey
- key whose associated value is to be returned
public Map loadAll(Collection colKeys)
loadAll
in interface CacheLoader
loadAll
in class AbstractCacheLoader
colKeys
- a collection of keys to load
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |