Package | Description |
---|---|
com.tangosol.coherence.config.scheme |
Defines the Coherence configuration object model classes and interfaces for Caching and Service Schemes.
|
com.tangosol.coherence.transaction |
Contains classes related to the Coherence Transaction Framework.
|
com.tangosol.net |
Contains basic cluster interfaces and factories.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
com.tangosol.net.partition |
Contains interfaces and classes related to partitioned services.
|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap |
ReadWriteBackingMapScheme.getInternalMap()
Return the internal map which is set by the backing map manager when the partitioned flag is true.
|
Modifier and Type | Method and Description |
---|---|
protected ReadWriteBackingMap |
ReadWriteBackingMapScheme.instantiateReadWriteBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, BinaryEntryStore storeBinary, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Construct a ReadWriteBackingMap using the specified parameters.
|
protected ReadWriteBackingMap |
ReadWriteBackingMapScheme.instantiateReadWriteBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, CacheLoader store, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Construct a ReadWriteBackingMap using the specified parameters.
|
void |
ReadWriteBackingMapScheme.setInternalMap(ObservableMap map)
Set the internal map.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OptimisticNamedCache
An extension to the
NamedCache interface that adds support for optimistic transactions. |
Modifier and Type | Interface and Description |
---|---|
interface |
NamedCache<K,V>
A Map-based data-structure that manages entries across one or more processes.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap |
BackingMapContext.getBackingMap()
Deprecated.
As of Coherence 12.1.3, replaced with
BackingMapContext.getBackingMapEntry(java.lang.Object) |
Modifier and Type | Method and Description |
---|---|
protected OverflowMap |
DefaultConfigurableCacheFactory.instantiateOverflowMap(ObservableMap mapFront, Map mapBack, boolean fExpiry)
Deprecated.
Construct an OverflowMap using the specified parameters.
|
protected ReadWriteBackingMap |
DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, BinaryEntryStore storeBinary, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Deprecated.
Construct a ReadWriteBackingMap using the specified parameters.
|
protected ReadWriteBackingMap |
DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, CacheLoader store, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Deprecated.
Construct a ReadWriteBackingMap using the specified parameters.
|
protected SimpleOverflowMap |
DefaultConfigurableCacheFactory.instantiateSimpleOverflowMap(ObservableMap mapFront, Map mapBack, Map mapMisses)
Deprecated.
Construct a SimpleOverflowMap using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, CacheLoader loader, NamedCache mapVersionTransient, NamedCache mapVersionPersist, boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, CacheStore store, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor, NamedCache mapVersionTransient, NamedCache mapVersionPersist, boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CacheMap<K,V>
A CacheMap is a Map that supports caching.
|
interface |
ConfigurableCacheMap
An extension to the CacheMap interface that supports runtime configuration and monitoring of various caching properties.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSerializationCache
An abstract base class for serialization-based caches.
|
class |
BlindCompactSerializationCache
BlindCompactSerializationCache is a
CompactSerializationCache extension enforcing CompactSerializationCache to operate under a blind mode. |
class |
BundlingNamedCache
Bundling NamedCache implementation.
|
class |
CompactSerializationCache
CompactSerializationCache is an implementation of
ConfigurableCacheMap which is optimized for compact on-heap footprint. |
class |
ContinuousQueryCache<K,V_BACK,V_FRONT>
Create a materialized view of a NamedCache using the Coherence Continuous Query capability.
|
class |
LocalCache
A LocalCache implementation that supports the JCache API, CacheLoader and CacheStore objects.
|
class |
NearCache<K,V>
A "near cache" is a CachingMap whose front map is a size-limited and/or auto-expiring local cache, and whose back map is a distributed cache.
|
class |
OldCache
Deprecated.
As of Coherence 3.1, use
LocalCache instead |
class |
OverflowMap
An Observable Map implementation that wraps two maps - a front map (assumed to be fast but limited in its maximum size) and a back map (assumed to be slower but much less limited in its maximum size).
|
class |
ReadonlyNamedCache<K,V>
A simple extension of the WrapperNamedCache implementation that shields all content mutating operations such as put(), remove(), lock() etc.
|
class |
ReadWriteBackingMap
Backing Map implementation that provides a size-limited cache of a persistent store and supports configurable write-behind and refresh- ahead caching.
|
class |
SerializationCache
A version of SerializationMap that implements an LRU policy.
|
class |
SerializationPagedCache
A version of SerializationMap that implements an LRU policy using time-based paging of the cache.
|
class |
VersionedBackingMap
Deprecated.
as of Coherence 3.2 all the functionality of this class has been superceded by the ReadWriteBackingMap implementation
|
class |
VersionedNearCache
Deprecated.
as of Coherence 3.2 all the functionality of this class has been superceded by the NearCache implementation
|
class |
WrapperNamedCache<K,V>
A simple implementation of NamedCache interface built as a wrapper around any Map implementation.
|
Modifier and Type | Field and Description |
---|---|
protected ObservableMap |
SimpleOverflowMap.m_mapFront
The "front" map, which is size-limited.
|
protected ObservableMap<K,V_FRONT> |
ContinuousQueryCache.m_mapLocal
The keys that are in this ContinuousQueryCache, and (if
ContinuousQueryCache.m_fCacheValues is true) the corresponding values as well. |
Modifier and Type | Method and Description |
---|---|
ObservableMap |
BackingMapBinaryEntry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.
|
ObservableMap |
ReadWriteBackingMap.Entry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.
|
ObservableMap |
OverflowMap.getFrontMap()
Returns the front Map.
|
ObservableMap |
SimpleOverflowMap.getFrontMap()
Returns the front Map.
|
protected ObservableMap<K,V_FRONT> |
ContinuousQueryCache.getInternalCache()
Obtain a reference to the internal cache.
|
ObservableMap |
ReadWriteBackingMap.getInternalCache()
Get the representative of the "in-memory" storage for this backing map.
|
protected ObservableMap<K,V_FRONT> |
ContinuousQueryCache.instantiateInternalCache()
Create the internal cache used by the ContinuousQueryCache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReadWriteBackingMap.configureInternalCache(ObservableMap mapInternal)
Configure the internal cache that this backing map uses to store its "in-memory" data.
|
Constructor and Description |
---|
CacheEvent(ObservableMap<K,V> map, int nId, K oKey, V oValueOld, V oValueNew, boolean fSynthetic)
Constructs a new CacheEvent.
|
CacheEvent(ObservableMap<K,V> map, int nId, K oKey, V oValueOld, V oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState)
Constructs a new CacheEvent.
|
HistoricCacheEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, Object oValueRecent)
Create a Historic CacheEvent that contains the most recent value before the now-current value.
|
OverflowMap(ObservableMap mapFront, Map mapBack)
Construct a OverflowMap using two specified maps: FrontMap (aka "cache" or "shallow") and BackMap (aka "file" or "deep") If the BackMap implements the ObservableMap interface a listener will be added to the BackMap to invalidate items updated [externally] in the back map.
|
ReadWriteBackingMap(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, BinaryEntryStore storeBinary, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Construct a ReadWriteBackingMap based on a BinaryEntryStore.
|
ReadWriteBackingMap(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, CacheLoader loader)
Construct a ReadWriteBackingMap based on a CacheLoader (CacheStore).
|
ReadWriteBackingMap(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, CacheLoader loader, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor)
Construct a ReadWriteBackingMap based on a CacheLoader (CacheStore).
|
SimpleOverflowMap(ObservableMap mapFront, Map mapBack)
Construct a SimpleOverflowMap using two specified maps: FrontMap (aka "cache" or "shallow") and BackMap (aka "file" or "deep")
|
SimpleOverflowMap(ObservableMap mapFront, Map mapBack, Map mapMiss)
Construct a SimpleOverflowMap using three specified maps: Front Map (aka "cache" or "shallow") and Back Map (aka "file" or "deep") Miss Cache
|
VersionedBackingMap(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, CacheLoader loader, NamedCache mapVersionTransient, NamedCache mapVersionPersist, boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheLoader object.
|
VersionedBackingMap(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, CacheStore store, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor, NamedCache mapVersionTransient, NamedCache mapVersionPersist, boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheStore object.
|
Modifier and Type | Class and Description |
---|---|
class |
ObservableSplittingBackingCache
The ObservableSplittingBackingCache is an implementation of the ConfigurableCacheMap interface that works as an observable backing map in a partitioned system.
|
class |
ObservableSplittingBackingMap
An observable, cache-aware PartitionAwareBackingMap implementation.
|
class |
ReadWriteSplittingBackingMap
A PartitionAwareBackingMap extension to the ReadWriteBackingMap.
|
Modifier and Type | Class and Description |
---|---|
static class |
ConverterCollections.ConverterCacheMap
A Converter CacheMap views an underlying CacheMap through a set of key and value Converters.
|
static class |
ConverterCollections.ConverterNamedCache
A Converter NamedCache views an underlying NamedCache through a set of key and value Converters.
|
static class |
ConverterCollections.ConverterObservableMap
A Converter ObservableMap views an underlying ObservableMap through a set of key and value Converters.
|
static class |
NullImplementation.NullObservableMap
An immutable ObservableMap which contains nothing.
|
class |
ObservableHashMap<K,V>
An ObservableMap implementation that extends the SafeHashMap.
|
class |
WrapperConcurrentMap<K,V>
A simple implementation of ConcurrentMap interface built as a wrapper around any Map implementation.
|
class |
WrapperObservableMap<K,V>
A simple implementation of ObservableMap interface built as a wrapper around any Map implementation.
|
Modifier and Type | Field and Description |
---|---|
static ObservableMap |
NullImplementation.NullObservableMap.INSTANCE
Since the Map contains no information, only one ever has to exist.
|
protected ObservableMap |
ConverterCollections.ConverterMapListener.m_map
The converting Map the will be the source of converted events.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap<K,V> |
BinaryEntry.getBackingMap()
Deprecated.
As of Coherence 12.1.3, replaced with
BackingMapContext.getBackingMapEntry(java.lang.Object) BackingMapContext.getBackingMapEntry(java.lang.Object) |
ObservableMap |
ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.
|
ObservableMap |
InvocableMapHelper.RoutingBinaryEntry.getBackingMap() |
ObservableMap |
MapEvent.getMap()
Return an ObservableMap object on which this event has actually occurred.
|
ObservableMap |
ConverterCollections.ConverterObservableMap.getObservableMap()
Return the underlying ObservableMap.
|
ObservableMap |
ConverterCollections.ConverterMapListener.getObservableMap()
Return the underlying ObservableMap.
|
static ObservableMap |
NullImplementation.getObservableMap()
Returns an instance of the NullObservableMap.
|
Modifier and Type | Method and Description |
---|---|
static void |
InvocableMapHelper.addIndex(ValueExtractor extractor, boolean fOrdered, Comparator comparator, ObservableMap map, Map mapIndex)
Add an index to the given map of indexes, keyed by the given extractor.
|
static MapEvent |
MapListenerSupport.convertEvent(MapEvent event, ObservableMap mapConv, Converter convKey, Converter convVal)
Convert the specified map event into another MapEvent that ensures the lazy event data conversion using the specified converters.
|
static MapEvent |
ConverterCollections.getMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal)
Returns an instance of a MapEvent that uses Converters to retrieve the event's data.
|
static MapEvent |
ConverterCollections.getMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal, BackingMapManagerContext context)
Returns an instance of a MapEvent that uses Converters to retrieve the event's data, and additionally provides access to the BackingMapManagerContext.
|
static MapListener |
ConverterCollections.getMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
Returns a converter listener for the specified listener and Converters.
|
static ConverterCollections.ConverterObservableMap |
ConverterCollections.getObservableMap(ObservableMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)
Returns a Converter instance of ObservableMap.
|
static void |
InvocableMapHelper.removeIndex(ValueExtractor extractor, ObservableMap map, Map mapIndex)
Remove the index keyed by the given extractor from the given map of indexes.
|
Constructor and Description |
---|
ConverterCacheEvent(ObservableMap map, CacheEvent event, Converter convKey, Converter convVal)
Constructor.
|
ConverterCacheEvent(ObservableMap map, CacheEvent event, Converter convKey, Converter convVal, BackingMapManagerContext context)
Construct a ConverterMapEvent.
|
ConverterMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal)
Construct a ConverterMapEvent.
|
ConverterMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal, BackingMapManagerContext context)
Construct a ConverterMapEvent.
|
ConverterMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
Constructor.
|
ConverterObservableMap(ObservableMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)
Constructor.
|
DeferredCacheEvent(ObservableMap<K,V> map, int nId, K oKey, V oValueOld, V oValueNew, boolean fSynthetic)
Constructs a new DeferredCacheEvent.
|
FilterEvent(ObservableMap map, int nId, Object oKey, boolean fSynthetic, Filter[] aFilter)
Constructs a new lite (no values are specified) FilterEvent.
|
FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, Filter[] aFilter)
Constructs a new FilterEvent.
|
FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, Filter[] aFilter)
Constructs a new FilterEvent.
|
MapEvent(ObservableMap<K,V> map, int nId, K oKey, V oValueOld, V oValueNew)
Constructs a new MapEvent.
|