Uses of Interface
com.tangosol.util.MapListener
-
Packages that use MapListener Package Description com.oracle.coherence.caffeine Contains interfaces and classes related to the Caffeine backing map implementation.com.oracle.coherence.cdi.events Support for adapting Coherence interceptors to standard CDI events.com.oracle.coherence.grpc.proxy The Coherence gRPC server implementation.com.oracle.coherence.repository Contains classes to enable Repository-like access to Coherence data.com.tangosol.coherence.config.builder Defines the typical runtime configuration builders for the Coherence configuration object model.com.tangosol.coherence.config.scheme Defines the Coherence configuration object model classes and interfaces for Caching and Service Schemes.com.tangosol.coherence.config.xml.processor Defines the Xml document Element and Attribute Processors for Coherence Cache Configuration files.com.tangosol.coherence.jcache.localcache Contains classes related to local cache implementation of Coherence JCache.com.tangosol.coherence.jcache.partitionedcache Contains classes related to partitioned cache implementation of Coherence JCache.com.tangosol.coherence.jcache.passthroughcache Contains classes related to pass-through cache implementation of Coherence JCache.com.tangosol.coherence.rest.events Contains classes related to the Coherence REST APIMapEvent
s.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. -
-
Uses of MapListener in com.oracle.coherence.caffeine
Methods in com.oracle.coherence.caffeine with parameters of type MapListener Modifier and Type Method Description void
CaffeineCache. addMapListener(MapListener listener)
void
CaffeineCache. addMapListener(MapListener listener, Filter filter, boolean fLite)
void
CaffeineCache. addMapListener(MapListener listener, Object oKey, boolean fLite)
void
CaffeineCache. removeMapListener(MapListener listener)
void
CaffeineCache. removeMapListener(MapListener listener, Filter filter)
void
CaffeineCache. removeMapListener(MapListener listener, Object oKey)
-
Uses of MapListener in com.oracle.coherence.cdi.events
Classes in com.oracle.coherence.cdi.events that implement MapListener Modifier and Type Class Description class
AnnotatedMapListener<K,V>
MapListener
implementation that dispatchesMapEvent
s to a CDI observer. -
Uses of MapListener in com.oracle.coherence.grpc.proxy
Classes in com.oracle.coherence.grpc.proxy that implement MapListener Modifier and Type Class Description class
MapListenerProxy
A class to encapsulate bidirectional streaming of map events for a single cache.protected static class
MapListenerProxy.DeactivationListener
NamedCacheDeactivationListener
that will communicate cache truncation and destruction events over the proxy.static class
MapListenerProxy.WrapperPrimingListener
MapListenerSupport.PrimingListener
that delegates calls to the wrappedMapListener
.Fields in com.oracle.coherence.grpc.proxy declared as MapListener Modifier and Type Field Description protected MapListener<Object,Object>
MapListenerProxy. f_listenerDeactivation
The listener used to detect cache deactivation.protected MapListener<Object,Object>
MapListenerProxy.WrapperPrimingListener. f_listenerWrapped
The wrappedMapListener
.Methods in com.oracle.coherence.grpc.proxy that return MapListener Modifier and Type Method Description MapListener<Object,Object>
MapListenerProxy. getDeactivationListener()
Return theMapListenerProxy.DeactivationListener
for this proxy.Constructors in com.oracle.coherence.grpc.proxy with parameters of type MapListener Constructor Description WrapperPrimingListener(MapListener<Object,Object> wrapped)
Constructs a newWrapperPrimingListener
that will delegate map events to the providedMapListener
. -
Uses of MapListener in com.oracle.coherence.repository
Classes in com.oracle.coherence.repository that implement MapListener Modifier and Type Class Description protected static class
AbstractRepositoryBase.MapListenerAdapter<ID,T>
Adapter fromAbstractRepositoryBase.Listener
toMapListener
that can be registered with the backingNamedMap
.Methods in com.oracle.coherence.repository that return MapListener Modifier and Type Method Description protected MapListener<? super ID,? super T>
AbstractRepositoryBase. instantiateMapListener(AbstractRepositoryBase.Listener<? super T> delegate)
Factory method forAbstractRepositoryBase.Listener
adapter toMapListener
. -
Uses of MapListener in com.tangosol.coherence.config.builder
Methods in com.tangosol.coherence.config.builder that return types with arguments of type MapListener Modifier and Type Method Description Map<Map,MapListener>
MapBuilder.Dependencies. getMapListenersRegistry()
Constructor parameters in com.tangosol.coherence.config.builder with type arguments of type MapListener Constructor Description Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, ClassLoader loader, String sCacheName, String sServiceType, Map<Map,MapListener> mapMapListeners)
Constructs aMapBuilder.Dependencies
. -
Uses of MapListener in com.tangosol.coherence.config.scheme
Methods in com.tangosol.coherence.config.scheme that return types with arguments of type MapListener Modifier and Type Method Description ParameterizedBuilder<MapListener>
AbstractCachingScheme. getListenerBuilder()
Obtains aParameterizedBuilder
for aMapListener
that can be used for buildingMapListener
s those of which may be later added to theMap
s orNamedCache
s realized by theCachingScheme
.ParameterizedBuilder<MapListener>
ObservableCachingScheme. getListenerBuilder()
Obtains aParameterizedBuilder
for aMapListener
that can be used for buildingMapListener
s those of which may be later added to theMap
s orNamedCache
s realized by theCachingScheme
.Method parameters in com.tangosol.coherence.config.scheme with type arguments of type MapListener Modifier and Type Method Description void
AbstractCachingScheme. setListenerBuilder(ParameterizedBuilder<MapListener> bldr)
Set theParameterizedBuilder
that builds aMapListener
. -
Uses of MapListener in com.tangosol.coherence.config.xml.processor
Methods in com.tangosol.coherence.config.xml.processor that return types with arguments of type MapListener Modifier and Type Method Description ParameterizedBuilder<MapListener>
MapListenerProcessor. process(ProcessingContext context, XmlElement element)
Process anXmlElement
to return a specific type of value. -
Uses of MapListener in com.tangosol.coherence.jcache.localcache
Classes in com.tangosol.coherence.jcache.localcache that implement MapListener Modifier and Type Class Description class
LocalCacheAsynchronousMapListener<K,V>
MapListener for Coherence-based JCache adapter implementation to generate JCacheCoherenceCacheEntryEvent
.class
LocalCacheSynchronousMapListener<K,V>
Synchronous version of LocalCacheAsynchronousMapListener. -
Uses of MapListener in com.tangosol.coherence.jcache.partitionedcache
Classes in com.tangosol.coherence.jcache.partitionedcache that implement MapListener Modifier and Type Class Description class
PartitionedCacheAsynchronousMapListener<K,V>
MapListener for coherence cache to implement jcache map events.class
PartitionedCacheConfigurationMapListener
MapListener for meta-information about JCachePartitionedCache
instances.class
PartitionedCacheSynchronousMapListener<K,V>
Synchronous version of PartitionedCacheAsynchronousMapListener.class
PartitionedCacheSyntheticDeleteMapListener<K,V>
MapListener for coherence cache to generate JCache ExpiryEvents. -
Uses of MapListener in com.tangosol.coherence.jcache.passthroughcache
Classes in com.tangosol.coherence.jcache.passthroughcache that implement MapListener Modifier and Type Class Description class
PassThroughMapListenerAdapter<K,V>
Methods in com.tangosol.coherence.jcache.passthroughcache that return MapListener Modifier and Type Method Description MapListener
PassThroughListenerRegistration. getMapListener()
Obtains theMapListener
for the registration.Constructors in com.tangosol.coherence.jcache.passthroughcache with parameters of type MapListener Constructor Description PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration, MapListener listener, MapEventFilter filter)
Constructs aPassThroughListenerRegistration
. -
Uses of MapListener in com.tangosol.coherence.rest.events
Classes in com.tangosol.coherence.rest.events that implement MapListener Modifier and Type Class Description class
MapEventOutput<K,V>
MapListener
implementation that converts CoherenceMapEvents
into Jersey Server Sent Events (SSE). -
Uses of MapListener in com.tangosol.net
Fields in com.tangosol.net declared as MapListener Modifier and Type Field Description protected MapListener<? super K,? super V>
MapViewBuilder. m_listener
TheMapListener
that will receive all the events from theview
, including those corresponding to its initial population.Methods in com.tangosol.net that return MapListener Modifier and Type Method Description protected MapListener
DefaultConfigurableCacheFactory. instantiateMapListener(DefaultConfigurableCacheFactory.CacheInfo info, XmlElement xmlClass, BackingMapManagerContext context, ClassLoader loader)
Deprecated.Create a MapListener using the using the "class-scheme" element.Methods in com.tangosol.net with parameters of type MapListener Modifier and Type Method Description MapViewBuilder<K,V>
MapViewBuilder. listener(MapListener<? super K,? super V> listener)
TheMapListener
that will receive all events, including those that result from the initial population of theview
.ViewBuilder<K,V>
ViewBuilder. listener(MapListener<? super K,? super V> listener)
TheMapListener
that will receive all events, including those that result from the initial population of theview
. -
Uses of MapListener in com.tangosol.net.cache
Classes in com.tangosol.net.cache that implement MapListener Modifier and Type Class Description class
AbstractEvictionPolicy
An abstract base class for custom cache eviction policies.protected class
CachingMap.DeactivationListener
DeactivationListener for the back NamedCache.protected class
CachingMap.FrontMapListener
MapListener for front map responsible for deregistering back map listeners upon front map eviction.protected class
CachingMap.PrimingListener
MapListener for back map responsible for keeping the front map coherent with the back map.protected class
CachingMap.SimpleListener
MapListener for back map responsible for keeping the front map coherent with the back map.class
ContinuousQueryCache.AddListener
AMapListener
for adding items to theContinuousQueryCache
.protected class
ContinuousQueryCache.DeactivationListener
DeactivationListener for the underlying NamedCache.protected class
ContinuousQueryCache.EventRouter<K,V>
An EventRouter routes events from the internal cache of theContinuousQueryCache
to the client listeners, and it can do so asynchronously when appropriate.protected class
ContinuousQueryCache.InternalMapListener
This listener allows interception of all events triggered by the the internalObservableMap
of theContinuousQueryCache
.class
ContinuousQueryCache.RemoveListener
AMapListener
for evicting items from theContinuousQueryCache
.protected class
LocalCache.InternalListener
An internal MapListener that listens to this cache and reports changes to the CacheStore.protected class
OverflowMap.BackMapListener
A listener for the back map.protected class
OverflowMap.FrontMapListener
A listener for the front map that moves evictions to the back map.protected class
ReadWriteBackingMap.InternalMapListener
A MapListener implementation that listens to the internal cache and routes those events to anyone listening to this ReadWriteBackingMap.class
SeppukuMapListener
A map listener that follows the "seppuku" pattern, invalidating the Map entries when MapEvents for another related ObservableMap are delivered.protected class
SimpleOverflowMap.FrontMapListener
A listener for the front map that moves evictions to the back map.protected class
VersionedBackingMap.InternalMapListener
Deprecated.A MapListener implementation that listens to the internal cache and routes those events to anyone listening to this VersionedBackingMap.class
VersionedNearCache.VersionCacheListener
Deprecated.A map listener that listens to the VersionCache and invalidates local entries accordingly.Fields in com.tangosol.net.cache declared as MapListener Modifier and Type Field Description protected MapListener<? super K,? super V>
ContinuousQueryCache.EventRouter. m_listener
The MapListener to route to.protected MapListener<K,V_FRONT>
ContinuousQueryCache. m_listenerAdd
Thelistener
that gets information about what should be in this cache.protected MapListener<K,V_FRONT>
ContinuousQueryCache. m_listenerRemove
Thelistener
that gets information about what should be thrown out of this cache.protected MapListener<? super K,? super V_FRONT>
ContinuousQueryCache. m_mapListener
The optionalMapListener
that may be provided duringContinuousQueryCache
construction.Methods in com.tangosol.net.cache that return MapListener Modifier and Type Method Description protected MapListener
OverflowMap. getBackMapListener()
Get the MapListener for the back map.protected MapListener
OverflowMap. getFrontMapListener()
Get the MapListener for the front map.protected MapListener
SimpleOverflowMap. getFrontMapListener()
Get the MapListener for the front map.protected MapListener
ReadWriteBackingMap. getInternalListener()
Obtain the MapListener that listens to the internal cache and routes those events to anyone listening to this ReadWriteBackingMap, creating such a listener if one does not already exist.MapListener<? super K,? super V_FRONT>
ContinuousQueryCache. getMapListener()
Obtain the configuredMapListener
for thisContinuousQueryCache
.protected MapListener<K,V_FRONT>
ContinuousQueryCache. instantiateAddListener()
Factory Method: Instantiate aMapListener
for adding items to theContinuousQueryCache
, and (if there are listeners on theContinuousQueryCache
) for dispatching inserts and updates.protected MapListener
CachingMap. instantiateBackMapListener(int nStrategy)
Factory pattern: instantiate back map listener.protected MapListener
OverflowMap. instantiateBackMapListener()
Factory pattern: Back Map Listener.protected MapListener
OverflowMap. instantiateFrontMapListener()
Factory pattern: Front Map Listener.protected MapListener
SimpleOverflowMap. instantiateFrontMapListener()
Factory pattern: Front Map Listener.protected MapListener
LocalCache. instantiateInternalListener()
Factory pattern: Instantiate an internal MapListener to listen to this cache and report changes to the CacheStore.protected MapListener
ReadWriteBackingMap. instantiateInternalListener()
Factory pattern: Create a MapListener that listens to the internal cache and routes those events to anyone listening to this ReadWriteBackingMap.protected MapListener
VersionedBackingMap. instantiateInternalListener()
Deprecated.Factory pattern: Create a MapListener that listens to the internal cache and routes those events to anyone listening to this VersionedBackingMap.protected MapListener<K,V_FRONT>
ContinuousQueryCache. instantiateRemoveListener()
Factory Method: Instantiate aMapListener
for evicting items from theContinuousQueryCache
.protected MapListener
VersionedNearCache. instantiateVersionCacheListener()
Deprecated.Factory method: Provide a MapListener that listens to the VersionCache and invalidates local entries accordingly.Methods in com.tangosol.net.cache with parameters of type MapListener Modifier and Type Method Description void
AbstractSerializationCache. addMapListener(MapListener listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
AbstractSerializationCache. addMapListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
AbstractSerializationCache. addMapListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
ContinuousQueryCache. addMapListener(MapListener<? super K,? super V_FRONT> listener)
void
ContinuousQueryCache. addMapListener(MapListener<? super K,? super V_FRONT> listener, Filter filter, boolean fLite)
void
ContinuousQueryCache. addMapListener(MapListener<? super K,? super V_FRONT> listener, K oKey, boolean fLite)
void
NearCache. addMapListener(MapListener<? super K,? super V> listener)
Add a standard map listener.void
NearCache. addMapListener(MapListener<? super K,? super V> listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
NearCache. addMapListener(MapListener<? super K,? super V> listener, K oKey, boolean fLite)
Add a map listener for a specific key.void
OldCache. addMapListener(MapListener listener)
Deprecated.Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
OldCache. addMapListener(MapListener listener, Filter filter, boolean fLite)
Deprecated.Add a map listener that receives events based on a filter evaluation.void
OldCache. addMapListener(MapListener listener, Object oKey, boolean fLite)
Deprecated.Add a map listener for a specific key.void
OverflowMap. addMapListener(MapListener listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
OverflowMap. addMapListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
OverflowMap. addMapListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
ReadWriteBackingMap. addMapListener(MapListener listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
ReadWriteBackingMap. addMapListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
ReadWriteBackingMap. addMapListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.protected ContinuousQueryCache.EventRouter<K,V_FRONT>
ContinuousQueryCache. instantiateEventRouter(MapListener<? super K,? super V_FRONT> listener, boolean fLite)
Factory Method: Instantiate a listener on the internal map that will direct events to the passed listener, either synchronously or asynchronously as appropriate.void
AbstractSerializationCache. removeMapListener(MapListener listener)
Remove a standard map listener that previously signed up for all events.void
AbstractSerializationCache. removeMapListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
AbstractSerializationCache. removeMapListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.void
ContinuousQueryCache. removeMapListener(MapListener<? super K,? super V_FRONT> listener)
void
ContinuousQueryCache. removeMapListener(MapListener<? super K,? super V_FRONT> listener, Filter filter)
void
ContinuousQueryCache. removeMapListener(MapListener<? super K,? super V_FRONT> listener, K oKey)
void
NearCache. removeMapListener(MapListener<? super K,? super V> listener)
Remove a standard map listener.void
NearCache. removeMapListener(MapListener<? super K,? super V> listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
NearCache. removeMapListener(MapListener<? super K,? super V> listener, K oKey)
Remove a map listener that previously signed up for events about a specific key.void
OldCache. removeMapListener(MapListener listener)
Deprecated.Remove a standard map listener that previously signed up for all events.void
OldCache. removeMapListener(MapListener listener, Filter filter)
Deprecated.Remove a map listener that previously signed up for events based on a filter evaluation.void
OldCache. removeMapListener(MapListener listener, Object oKey)
Deprecated.Remove a map listener that previously signed up for events about a specific key.void
OverflowMap. removeMapListener(MapListener listener)
Remove a standard map listener that previously signed up for all events.void
OverflowMap. removeMapListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
OverflowMap. removeMapListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.void
ReadWriteBackingMap. removeMapListener(MapListener listener)
Remove a standard map listener that previously signed up for all events.void
ReadWriteBackingMap. removeMapListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
ReadWriteBackingMap. removeMapListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.protected void
OverflowMap. setBackMapListener(MapListener listener)
Specify the MapListener for the back map.protected void
OverflowMap. setFrontMapListener(MapListener listener)
Specify the MapListener for the front map.protected void
SimpleOverflowMap. setFrontMapListener(MapListener listener)
Specify the MapListener for the front map.protected boolean
CacheEvent. shouldDispatch(MapListener listener)
Constructors in com.tangosol.net.cache with parameters of type MapListener Constructor Description ContinuousQueryCache(NamedCache<K,V_BACK> cache, Filter filter, boolean fCacheValues, MapListener<? super K,? super V_FRONT> listener, ValueExtractor<? super V_BACK,? extends V_FRONT> transformer)
Construct the ContinuousQueryCache.ContinuousQueryCache(NamedCache<K,V_BACK> cache, Filter filter, MapListener<? super K,? super V_FRONT> listener)
Create a materialized view of aNamedCache
using a Filter.ContinuousQueryCache(NamedCache<K,V_BACK> cache, Filter filter, MapListener<? super K,? super V_FRONT> listener, ValueExtractor<? super V_BACK,? extends V_FRONT> transformer)
Create a materialized view of aNamedCache
using aFilter
.ContinuousQueryCache(Supplier<NamedCache<K,V_BACK>> supplierCache, Filter filter, boolean fCacheValues, MapListener<? super K,? super V_FRONT> listener, ValueExtractor<? super V_BACK,? extends V_FRONT> transformer, ClassLoader loader)
Create a materialized view of aNamedCache
using aFilter
.EventRouter(MapListener<? super K,? super V> listener, boolean fLite)
Construct an EventRouter to route events from the internal cache of theContinuousQueryCache
to the client listeners. -
Uses of MapListener in com.tangosol.net.partition
Subinterfaces of MapListener in com.tangosol.net.partition Modifier and Type Interface Description interface
VersionAwareMapListener<K,V>
Direct implementations of this interface are generally considered advanced use cases, such as handling event receiver (client process) restarts.Methods in com.tangosol.net.partition with parameters of type MapListener Modifier and Type Method Description void
ObservableSplittingBackingMap. addMapListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
ObservableSplittingBackingMap. addMapListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
ObservableSplittingBackingMap. removeMapListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
ObservableSplittingBackingMap. removeMapListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key. -
Uses of MapListener in com.tangosol.util
Subinterfaces of MapListener in com.tangosol.util Modifier and Type Interface Description static interface
MapListenerSupport.PrimingListener<K,V>
A tag interface indicating that this listener is registered as a synchronous listener for lite events (carrying only a key) and generates a "priming" event when registered.static interface
MapListenerSupport.SynchronousListener<K,V>
A tag interface indicating that tagged MapListener implementation has to receive the MapEvent notifications in a synchronous manner.Classes in com.tangosol.util that implement MapListener Modifier and Type Class Description class
AbstractMapListener
A base class that simplifies the implementation of a MapListener, particularly inner classes that only implement one or two of the three event methods.static class
ConverterCollections.ConverterCacheListener<K,V>
A converter MapListener that converts events of the underlying MapListener for the underlying NamedCache.static class
ConverterCollections.ConverterMapListener<K,V>
A converter MapListener that converts events of the underlying MapListener for the underlying map.protected static class
InvocableMapHelper.IndexAdapter
MapListener implementation that routes the map events into the corresponding MapIndex calls.static class
MapListenerSupport.WrapperListener<K,V>
A base class for various wrapper listener classes.static class
MapListenerSupport.WrapperPrimingListener
A wrapper class that turns the specified MapListener into a priming listener.static class
MapListenerSupport.WrapperSynchronousListener<K,V>
A wrapper class that turns the specified MapListener into a synchronous listener.class
MapTriggerListener
MapTriggerListener is a special purpose MapListener implementation that is used to register aMapTrigger
on a corresponding ObservableMap.class
MultiplexingMapListener<K,V>
A base class that simplifies the implementation of a MapListener by multiplexing all events into a single listener method.protected class
WrapperObservableMap.InternalListener
An internal MapListener that listens to the wrapped map.Fields in com.tangosol.util declared as MapListener Modifier and Type Field Description protected MapListener<K,V>
MapListenerSupport.WrapperListener. f_listener
Wrapped MapListener.protected MapListener<K,V>
WrapperObservableMap. m_listenerInternal
The MapListener used to listen to the wrapped ObservableMap.Methods in com.tangosol.util that return MapListener Modifier and Type Method Description protected MapListener<K,V>
WrapperObservableMap. ensureInternalListener()
Obtain the internal MapListener, creating one if necessary.protected static MapListener
InvocableMapHelper. ensureListener(MapIndex index)
Ensure a MapListener for the given index.protected MapListener<? super FK,? super FV>
ConverterCollections.ConverterObservableMap. getConverterListener(MapListener<? super TK,? super TV> listener)
Create a converter listener for the specified listener.static MapListener
ConverterCollections. getMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
Returns a converter listener for the specified listener and Converters.MapListener<K,V>
MapListenerSupport.WrapperListener. getMapListener()
Return the underlying MapListener.protected MapListener<K,V>
WrapperObservableMap. instantiateInternalListener()
Instantiate a MapListener to listen to the wrapped map.default MapListener<K,V>
MapListener. synchronous()
Make this MapListener synchronous.static <K,V>
MapListener<K,V>MapListenerSupport. unwrap(MapListener<K,V> listener)
Return the inner MapListener skipping any wrapper listeners.Methods in com.tangosol.util with parameters of type MapListener Modifier and Type Method Description void
MapListenerSupport. addListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
MapListenerSupport. addListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
MapListenerSupport. addListener(MapListener listener, Set setKey, boolean fLite)
Add a map listener for a set of keys.protected static void
MapListenerSupport. addListenerState(Map mapStandardListeners, Object anyKey, MapListener listener, boolean fLite)
Add a state information (lite or standard) associated with specified key and listener.boolean
MapListenerSupport. addListenerWithCheck(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.boolean
MapListenerSupport. addListenerWithCheck(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
MapListenerSupport. addListenerWithCheck(MapListener listener, Set setKey, boolean fLite)
Add a map listener for a set of keys.void
ConverterCollections.ConverterObservableMap. addMapListener(MapListener<? super TK,? super TV> listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
ConverterCollections.ConverterObservableMap. addMapListener(MapListener<? super TK,? super TV> listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
ConverterCollections.ConverterObservableMap. addMapListener(MapListener<? super TK,? super TV> listener, TK key, boolean fLite)
Add a map listener for a specific key.void
NullImplementation.NullObservableMap. addMapListener(MapListener listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
NullImplementation.NullObservableMap. addMapListener(MapListener listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
NullImplementation.NullObservableMap. addMapListener(MapListener listener, Object oKey, boolean fLite)
Add a map listener for a specific key.void
ObservableHashMap. addMapListener(MapListener listener)
void
ObservableHashMap. addMapListener(MapListener<? super K,? super V> listener, Filter filter, boolean fLite)
void
ObservableHashMap. addMapListener(MapListener<? super K,? super V> listener, K key, boolean fLite)
void
ObservableMap. addMapListener(MapListener<? super K,? super V> listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
ObservableMap. addMapListener(MapListener<? super K,? super V> listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
ObservableMap. addMapListener(MapListener<? super K,? super V> listener, K key, boolean fLite)
Add a map listener for a specific key.void
WrapperObservableMap. addMapListener(MapListener<? super K,? super V> listener)
Add a standard map listener that will receive all events (inserts, updates, deletes) that occur against the map, with the key, old-value and new-value included.void
WrapperObservableMap. addMapListener(MapListener<? super K,? super V> listener, Filter filter, boolean fLite)
Add a map listener that receives events based on a filter evaluation.void
WrapperObservableMap. addMapListener(MapListener<? super K,? super V> listener, K oKey, boolean fLite)
Add a map listener for a specific key.protected static void
MapListenerSupport. addSafeListener(Map mapListeners, Filter anyFilter, MapListener listener)
Ensure that the specified map has a Listeners object associated with the specified Filter and add the specified listener to it.protected static void
MapListenerSupport. addSafeListener(Map mapListeners, Object anyKey, MapListener listener)
Ensure that the specified map has a Listeners object associated with the specified key and add the specified listener to it.void
MapEvent. dispatch(MapListener<? super K,? super V> listener)
Dispatch this event to the specified MapListener.protected MapListener<? super FK,? super FV>
ConverterCollections.ConverterObservableMap. getConverterListener(MapListener<? super TK,? super TV> listener)
Create a converter listener for the specified listener.static MapListener
ConverterCollections. getMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
Returns a converter listener for the specified listener and Converters.static boolean
MapListenerSupport. isPrimingListener(MapListener listener)
Check if the given listener is a PrimingListener or if it wraps one.protected boolean
MapListenerSupport. isVersionAware(MapListener listener)
Return true if the provided listener is version aware.void
MapListenerSupport. removeListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
MapListenerSupport. removeListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.void
MapListenerSupport. removeListener(MapListener listener, Set setKey)
Remove a map listener that previously signed up for events about specific keys.protected static void
MapListenerSupport. removeListenerState(Map mapStandardListeners, Object anyKey, MapListener listener)
Remove a state information (lite or standard) associated with specified key and listener.boolean
MapListenerSupport. removeListenerWithCheck(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.boolean
MapListenerSupport. removeListenerWithCheck(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.void
MapListenerSupport. removeListenerWithCheck(MapListener listener, Set setKey)
Remove a map listener that previously signed up for events about specific keys.void
ConverterCollections.ConverterObservableMap. removeMapListener(MapListener<? super TK,? super TV> listener)
Remove a standard map listener that previously signed up for all events.void
ConverterCollections.ConverterObservableMap. removeMapListener(MapListener<? super TK,? super TV> listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
ConverterCollections.ConverterObservableMap. removeMapListener(MapListener<? super TK,? super TV> listener, TK key)
Remove a map listener that previously signed up for events about a specific key.void
NullImplementation.NullObservableMap. removeMapListener(MapListener listener)
Remove a standard map listener that previously signed up for all events.void
NullImplementation.NullObservableMap. removeMapListener(MapListener listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
NullImplementation.NullObservableMap. removeMapListener(MapListener listener, Object oKey)
Remove a map listener that previously signed up for events about a specific key.void
ObservableHashMap. removeMapListener(MapListener listener)
void
ObservableHashMap. removeMapListener(MapListener<? super K,? super V> listener, Filter filter)
void
ObservableHashMap. removeMapListener(MapListener<? super K,? super V> listener, K key)
void
ObservableMap. removeMapListener(MapListener<? super K,? super V> listener)
Remove a standard map listener that previously signed up for all events.void
ObservableMap. removeMapListener(MapListener<? super K,? super V> listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
ObservableMap. removeMapListener(MapListener<? super K,? super V> listener, K key)
Remove a map listener that previously signed up for events about a specific key.void
WrapperObservableMap. removeMapListener(MapListener<? super K,? super V> listener)
Remove a standard map listener that previously signed up for all events.void
WrapperObservableMap. removeMapListener(MapListener<? super K,? super V> listener, Filter filter)
Remove a map listener that previously signed up for events based on a filter evaluation.void
WrapperObservableMap. removeMapListener(MapListener<? super K,? super V> listener, K oKey)
Remove a map listener that previously signed up for events about a specific key.protected static void
MapListenerSupport. removeSafeListener(Map mapListeners, Object anyKey, MapListener listener)
Remove the specified listener from the Listeners object associated with the specified key.protected boolean
MapEvent. shouldDispatch(MapListener listener)
Return true if the providedMapListener
should receive this event.static <K,V>
MapListener<K,V>MapListenerSupport. unwrap(MapListener<K,V> listener)
Return the inner MapListener skipping any wrapper listeners.Constructors in com.tangosol.util with parameters of type MapListener Constructor Description ConverterCacheListener(NamedCache<K,V> cache, MapListener<K,V> listener, Converter<K,K> convKey, Converter<V,V> convVal)
Constructor.ConverterMapListener(ObservableMap<K,V> map, MapListener<K,V> listener, Converter<K,K> convKey, Converter<V,V> convVal)
Constructor.WrapperListener(MapListener<K,V> listener)
Construct WrapperSynchronousListener.WrapperPrimingListener(MapListener listener)
WrapperSynchronousListener(MapListener<K,V> listener)
Construct WrapperSynchronousListener.
-