|
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.util.ConverterCollections.ConverterMap
com.tangosol.net.cache.CacheStoreMap
public class CacheStoreMap
A backing Map implementation that delegates all operations to a CacheStore.
Note: The clear() method is explicitly not implemented. Items can be removed individually, but the suggested usage is to indicate item deletion by state change, such as by setting a persistent "item-deleted" flag. There are two reasons for this:
Nested Class Summary | |
---|---|
static class |
CacheStoreMap.ReadWriteMap
A Map implementation that delegates straight through to a CacheStore. |
Nested classes/interfaces inherited from interface com.tangosol.util.QueryMap |
---|
QueryMap.Entry |
Field Summary |
---|
Fields inherited from class com.tangosol.util.ConverterCollections.ConverterMap |
---|
m_convKeyDown, m_convKeyUp, m_convValDown, m_convValUp, m_map, m_set |
Constructor Summary | |
---|---|
CacheStoreMap(BackingMapManagerContext ctx,
CacheStore store)
Construct a read/write CacheStoreMap. |
|
CacheStoreMap(BackingMapManagerContext ctx,
CacheStore store,
boolean fBlind)
Construct a read/write CacheStoreMap. |
|
CacheStoreMap(BackingMapManagerContext ctx,
IterableCacheLoader loader)
Construct a read-only CacheStoreMap. |
Method Summary |
---|
Methods inherited from class com.tangosol.util.ConverterCollections.ConverterMap |
---|
addIndex, clear, containsKey, containsValue, entrySet, entrySet, entrySet, get, instantiateCollection, instantiateEntrySet, instantiateMap, instantiateSet, isEmpty, keySet, keySet, put, putAll, remove, removeIndex, size, toString, values |
Constructor Detail |
---|
public CacheStoreMap(BackingMapManagerContext ctx, IterableCacheLoader loader)
ctx
- the context provided by the CacheService which is using
this backing maploader
- the CacheLoader to delegate read operations topublic CacheStoreMap(BackingMapManagerContext ctx, CacheStore store)
ctx
- the context provided by the CacheService which is using
this backing mapstore
- the CacheStore to delegate read and write operations topublic CacheStoreMap(BackingMapManagerContext ctx, CacheStore store, boolean fBlind)
ctx
- the context provided by the CacheService which is using
this backing mapstore
- the CacheStore to delegate read and write operations tofBlind
- pass true to optimize put() and remove() by allowing
them to skip the loading of old values
|
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 |