|
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.oracle.common.collections.ConverterCollections.ConverterMap
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 java.util.Map |
---|
java.util.Map.Entry |
Field Summary |
---|
Fields inherited from class com.oracle.common.collections.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 |
---|
getConverterKeyDown, getConverterKeyUp, getConverterValueDown, getConverterValueUp |
Methods inherited from class com.oracle.common.collections.ConverterCollections.ConverterMap |
---|
clear, containsKey, containsValue, entrySet, equals, get, getMap, hashCode, instantiateCollection, instantiateEntrySet, instantiateMap, instantiateSet, isEmpty, keySet, put, putAll, remove, 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
|
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 |