Uses of Interface
com.tangosol.util.ObservableMap
Package
Description
Contains interfaces and classes related to the Caffeine backing map implementation.
Defines the Coherence configuration object model classes and interfaces for
Caching and Service Schemes.
Contains basic cluster interfaces and factories.
Contains classes providing various caching strategies.
Contains interfaces and classes related to partitioned services.
Contains various generic utilities.
-
Uses of ObservableMap in com.oracle.coherence.caffeine
-
Uses of ObservableMap in com.tangosol.coherence.config.scheme
Modifier and TypeMethodDescriptionReadWriteBackingMapScheme.getInternalMap()
Return the internal map which is set by the backing map manager when the partitioned flag is true.Modifier and TypeMethodDescriptionprotected 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.protected ReadWriteBackingMap
ReadWriteBackingMapScheme.instantiateReadWriteBackingMap
(BackingMapManagerContext context, ObservableMap mapInternal, Map mapMisses, NonBlockingEntryStore storeBinary, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor) Construct a ReadWriteBackingMap using the specified parameters.void
ReadWriteBackingMapScheme.setInternalMap
(ObservableMap map) Set the internal map. -
Uses of ObservableMap in com.tangosol.net
Modifier and TypeInterfaceDescriptioninterface
NamedCache<K,
V> A Map-based data-structure that manages entries across one or more processes.interface
NamedMap<K,
V> A Map-based data-structure that manages entries across one or more processes.Modifier and TypeMethodDescriptionprotected 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. -
Uses of ObservableMap in com.tangosol.net.cache
Modifier and TypeInterfaceDescriptioninterface
CacheMap<K,
V> A CacheMap is a Map that supports caching.interface
An extension to the CacheMap interface that supports runtime configuration and monitoring of various caching properties.Modifier and TypeClassDescriptionclass
An abstract base class for serialization-based caches.class
Bundling NamedCache implementation.class
ContinuousQueryCache<K,
V_BACK, V_FRONT> Create a materialized view of aNamedCache
using theCoherence
Continuous Query capability.class
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
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
Backing Map implementation that provides a size-limited cache of a persistent store and supports configurable write-behind and refresh- ahead caching.class
A version of SerializationMap that implements an LRU policy.class
A version of SerializationMap that implements an LRU policy using time-based paging of the cache.class
Deprecated.as of Coherence 3.2 all the functionality of this class has been superceded by the ReadWriteBackingMap implementationclass
Deprecated.as of Coherence 3.2 all the functionality of this class has been superceded by the NearCache implementationclass
WrapperNamedCache<K,
V> A simple implementation of NamedCache interface built as a wrapper around any Map implementation.Modifier and TypeFieldDescriptionprotected ObservableMap
SimpleOverflowMap.m_mapFront
The "front" map, which is size-limited.protected ObservableMap
<K, V_FRONT> ContinuousQueryCache.m_mapLocal
The keys that are in thisContinuousQueryCache
, and (ifContinuousQueryCache.m_fCacheValues
is true) the corresponding values as well.Modifier and TypeMethodDescriptionprotected ObservableMap
<K, V_FRONT> ContinuousQueryCache.ensureInternalCache()
Create and initialize thisContinuousQueryCache
's (if not already present) internal cache.BackingMapBinaryEntry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.ReadWriteBackingMap.Entry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.OverflowMap.getFrontMap()
Returns the front Map.SimpleOverflowMap.getFrontMap()
Returns the front Map.protected ObservableMap
<K, V_FRONT> ContinuousQueryCache.getInternalCache()
Obtain a reference to the internal cache.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 theContinuousQueryCache
.Modifier and TypeMethodDescriptionprotected void
ReadWriteBackingMap.configureInternalCache
(ObservableMap mapInternal) Configure the internal cache that this backing map uses to store its "in-memory" data.ModifierConstructorDescriptionCacheEvent
(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, boolean fPriming) 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.CacheEvent
(ObservableMap<K, V> map, int nId, K oKey, V oValueOld, V oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming) Constructs a new CacheEvent.CacheEvent
(ObservableMap<K, V> map, int nId, K oKey, V oValueOld, V oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming, boolean fExpired) 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).ReadWriteBackingMap
(BackingMapManagerContext ctxService, ObservableMap mapInternal, Map mapMisses, NonBlockingEntryStore storeBinary, boolean fReadOnly, int cWriteBehindSeconds, double dflRefreshAheadFactor) Construct a ReadWriteBackingMap based on a NonBlockingEntryStore.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 CacheVersionedBackingMap
(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. -
Uses of ObservableMap in com.tangosol.net.partition
Modifier and TypeClassDescriptionclass
The ObservableSplittingBackingCache is an implementation of the ConfigurableCacheMap interface that works as an observable backing map in a partitioned system.class
An observable, cache-aware PartitionAwareBackingMap implementation.class
A PartitionAwareBackingMap extension to the ReadWriteBackingMap. -
Uses of ObservableMap in com.tangosol.util
Modifier and TypeClassDescriptionstatic class
ConverterCollections.ConverterCacheMap<FK,
TK, FV, TV> A Converter CacheMap views an underlying CacheMap through a set of key and value Converters.static class
ConverterCollections.ConverterNamedCache<FK,
TK, FV, TV> A Converter NamedCache views an underlying NamedCache through a set of key and value Converters.static class
ConverterCollections.ConverterObservableMap<FK,
TK, FV, TV> A Converter ObservableMap views an underlying ObservableMap through a set of key and value Converters.static class
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 TypeFieldDescriptionstatic final ObservableMap
NullImplementation.NullObservableMap.INSTANCE
Since the Map contains no information, only one ever has to exist.protected ObservableMap
<K, V> ConverterCollections.ConverterMapListener.m_map
The converting Map the will be the source of converted events.Modifier and TypeMethodDescriptionBinaryEntry.getBackingMap()
Deprecated.As of Coherence 12.1.3, replaced withBackingMapContext.getBackingMapEntry(java.lang.Object)
BackingMapContext.getBackingMapEntry(java.lang.Object)
ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry.getBackingMap()
Obtain a reference to the backing map that this Entry corresponds to.InvocableMapHelper.RoutingBinaryEntry.getBackingMap()
MapEvent.getMap()
Return an ObservableMap object on which this event has actually occurred.ConverterCollections.ConverterMapListener.getObservableMap()
Return the underlying ObservableMap.ConverterCollections.ConverterObservableMap.getObservableMap()
Return the underlying ObservableMap.static <FK,
TK, FV, TV>
ObservableMap<TK, TV> ConverterCollections.getObservableMap
(ObservableMap<FK, FV> map, Converter<FK, TK> convKeyUp, Converter<TK, FK> convKeyDown, Converter<FV, TV> convValUp, Converter<TV, FV> convValDown) Returns a Converter instance of ObservableMap.static ObservableMap
NullImplementation.getObservableMap()
Returns an instance of the NullObservableMap.Modifier and TypeMethodDescriptionstatic 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 <FK,
TK, FV, TV>
ObservableMap<TK, TV> ConverterCollections.getObservableMap
(ObservableMap<FK, FV> map, Converter<FK, TK> convKeyUp, Converter<TK, FK> convKeyDown, Converter<FV, TV> convValUp, Converter<TV, FV> 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.ModifierConstructorDescriptionConverterCacheEvent
(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal) Constructor.ConverterCacheEvent
(ObservableMap<K, V> map, CacheEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal, BackingMapManagerContext context) Construct a ConverterMapEvent.ConverterMapEvent
(ObservableMap<K, V> map, MapEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal) Construct a ConverterMapEvent.ConverterMapEvent
(ObservableMap<K, V> map, MapEvent<K, V> event, Converter<K, K> convKey, Converter<V, V> convVal, BackingMapManagerContext context) Construct a ConverterMapEvent.ConverterMapListener
(ObservableMap<K, V> map, MapListener<K, V> listener, Converter<K, K> convKey, Converter<V, V> convVal) Constructor.ConverterObservableMap
(ObservableMap<FK, FV> map, Converter<FK, TK> convKeyUp, Converter<TK, FK> convKeyDown, Converter<FV, TV> convValUp, Converter<TV, FV> 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, boolean fPriming, Filter[] aFilter) Constructs a new lite (no values are specified) FilterEvent.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, boolean fPriming, Filter[] aFilter) Constructs a new FilterEvent.FilterEvent
(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming, boolean fExpired, Filter[] aFilter) Constructs a new FilterEvent.FilterEvent
(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming, Filter[] aFilter) Constructs a new FilterEvent.FilterEvent
(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, Filter[] aFilter) Constructs a new FilterEvent.Constructs a new MapEvent.
BackingMapContext.getBackingMapEntry(java.lang.Object)