Uses of Class
com.tangosol.util.MapEvent
Package
Description
Coherence CDI provides support for CDI (Contexts and Dependency Injection)
within Coherence cluster members.
Support for adapting Coherence interceptors to standard CDI events.
The Coherence gRPC server implementation.
Contains classes to enable Repository-like access to Coherence data.
Contains classes related to local cache implementation of Coherence JCache.
Contains classes related to partitioned cache implementation of Coherence JCache.
Contains classes related to pass-through cache implementation of Coherence JCache.
Contains classes related to the Coherence REST API
MapEvent
s.Contains classes providing various caching strategies.
Contains classes and helpers for implementing various types of persistence.
Contains various generic utilities.
Contains concrete
Filter
implementations and related interfaces.Contains concrete
MapEventTransformer
implementations.-
Uses of MapEvent in com.oracle.coherence.cdi
ModifierConstructorDescriptionCdiMapEventObserver
(jakarta.enterprise.inject.spi.ObserverMethod<MapEvent<K, V>> method) Create aCdiMapEventObserver
from anObserverMethod
CdiMapEventObserver
(jakarta.enterprise.inject.spi.ProcessObserverMethod<MapEvent<K, V>, ?> event) Create aCdiMapEventObserver
from an observed method event. -
Uses of MapEvent in com.oracle.coherence.cdi.events
Modifier and TypeMethodDescriptionvoid
AnnotatedMapListener.entryDeleted
(MapEvent<K, V> event) void
AnnotatedMapListener.entryInserted
(MapEvent<K, V> event) void
AnnotatedMapListener.entryUpdated
(MapEvent<K, V> event) void
Process an event. -
Uses of MapEvent in com.oracle.coherence.grpc.proxy
Modifier and TypeMethodDescriptionprotected com.oracle.coherence.grpc.MapEventResponse
MapListenerProxy.createMapEventResponse
(MapEvent<?, ?> mapEvent) Factory method to create newMapEventResponse
instances using the information in the suppliedMapEvent
.void
MapListenerProxy.DeactivationListener.entryDeleted
(MapEvent evt) void
MapListenerProxy.entryDeleted
(MapEvent<Object, Object> mapEvent) void
MapListenerProxy.WrapperPrimingListener.entryDeleted
(MapEvent<Object, Object> mapEvent) void
MapListenerProxy.entryInserted
(MapEvent<Object, Object> mapEvent) void
MapListenerProxy.WrapperPrimingListener.entryInserted
(MapEvent<Object, Object> mapEvent) void
MapListenerProxy.DeactivationListener.entryUpdated
(MapEvent evt) void
MapListenerProxy.entryUpdated
(MapEvent<Object, Object> mapEvent) void
MapListenerProxy.WrapperPrimingListener.entryUpdated
(MapEvent<Object, Object> mapEvent) protected void
MapListenerProxy.onMapEvent
(MapEvent<?, ?> event) -
Uses of MapEvent in com.oracle.coherence.repository
Modifier and TypeMethodDescriptionvoid
AbstractRepositoryBase.MapListenerAdapter.entryDeleted
(MapEvent<ID, T> mapEvent) void
AbstractRepositoryBase.MapListenerAdapter.entryInserted
(MapEvent<ID, T> mapEvent) void
AbstractRepositoryBase.MapListenerAdapter.entryUpdated
(MapEvent<ID, T> mapEvent) -
Uses of MapEvent in com.tangosol.coherence.jcache.localcache
Modifier and TypeMethodDescriptionvoid
LocalCacheAsynchronousMapListener.entryDeleted
(MapEvent evt) void
LocalCacheAsynchronousMapListener.entryInserted
(MapEvent evt) void
LocalCacheAsynchronousMapListener.entryUpdated
(MapEvent evt) -
Uses of MapEvent in com.tangosol.coherence.jcache.partitionedcache
Modifier and TypeMethodDescriptionvoid
PartitionedCacheAsynchronousMapListener.entryDeleted
(MapEvent evt) void
PartitionedCacheConfigurationMapListener.entryDeleted
(MapEvent evt) Remove JCacheContext for JCache identified by evt.getKey().void
PartitionedCacheAsynchronousMapListener.entryInserted
(MapEvent evt) void
PartitionedCacheAsynchronousMapListener.entryUpdated
(MapEvent evt) void
PartitionedCacheSyntheticDeleteMapListener.entryUpdated
(MapEvent evt) These updated mapEvents were decorated with JACHE_SYNTHETIC_EXPIRY or JCACHE_SYNTHETIC_EXPIRY_EVENT_FOR_ORIGINAL_VALUES. -
Uses of MapEvent in com.tangosol.coherence.jcache.passthroughcache
Modifier and TypeMethodDescriptionvoid
PassThroughMapListenerAdapter.entryDeleted
(MapEvent event) void
PassThroughMapListenerAdapter.entryInserted
(MapEvent event) void
PassThroughMapListenerAdapter.entryUpdated
(MapEvent event) static <K,
V> PassThroughCacheEntryEvent <K, V> Creates aPassThroughCacheEntryEvent
based on aMapEvent
ModifierConstructorDescriptionPassThroughCacheEntryEvent
(javax.cache.Cache<K, V> cache, javax.cache.event.EventType type, MapEvent event) Constructs aPassThroughCacheEntryEvent
. -
Uses of MapEvent in com.tangosol.coherence.rest.events
Modifier and TypeMethodDescriptionprotected org.glassfish.jersey.media.sse.OutboundEvent
MapEventOutput.createEvent
(String sName, MapEvent<? extends K, ? extends V> evt) Convert MapEvent to JSON-based OutboundEvent that can be sent to the client.void
MapEventOutput.entryDeleted
(MapEvent<K, V> evt) void
MapEventOutput.entryInserted
(MapEvent<K, V> evt) void
MapEventOutput.entryUpdated
(MapEvent<K, V> evt) protected void
MapEventOutput.writeEvent
(String sName, MapEvent<? extends K, ? extends V> evt) Write single event to this EventOutput.ModifierConstructorDescriptionSimpleMapEvent
(MapEvent<? extends K, ? extends V> evt) Construct SimpleMapEvent instance. -
Uses of MapEvent in com.tangosol.net.cache
Modifier and TypeClassDescriptionclass
CacheEvent<K,
V> An extension of the MapEvent which allows to differentiate between client driven (natural) events and cache internal (synthetic) events.protected static class
A CacheEvent that carries a recent value (to avoid it being lost during eviction).Modifier and TypeMethodDescriptionOverflowMap.Status.closeProcessing()
Finish the processing of the entry for which this Status exists and proceed to the commit phase.SimpleOverflowMap.Status.closeProcessing()
Finish the processing of the entry for which this Status exists and proceed to the commit phase.protected MapEvent
OverflowMap.Status.getBackEvent()
For internal use only, return the current event from the back Map.protected MapEvent
OverflowMap.Status.getFrontEvent()
For internal use only, return the current event from the front Map.protected MapEvent
SimpleOverflowMap.Status.getFrontEvent()
For internal use only, return the current event from the front Map.protected MapEvent
LocalCache.instantiateMapEvent
(int nId, Object oKey, Object oValueOld, Object oValueNew) Factory pattern: instantiate a new CacheEvent corresponding to the specified parameters.protected static MapEvent
OverflowMap.mergeEvents
(MapEvent evtOld, MapEvent evtNew) Merge two events that have been raised in sequence from a given map.protected MapEvent
SimpleOverflowMap.Status.mergeEvents
(MapEvent evtOld, MapEvent evtNew) Merge two events that have been raised in sequence from a given map.OverflowMap.Status.takeBackEvent()
Obtain the most recent back Map event that has occurred against the Entry for which this Status exists.OverflowMap.Status.takeEvent()
Obtain the most recent event that has occurred against the Entry for which this Status exists.SimpleOverflowMap.Status.takeEvent()
Obtain the most recent front Map event that has occurred against the Entry for which this Status exists.OverflowMap.Status.takeFrontEvent()
Obtain the most recent front Map event that has occurred against the Entry for which this Status exists.protected MapEvent
SimpleOverflowMap.Status.useReservation()
After having successfully made a reservation, this method completes the reservation process by setting the status to processing for the thread that made the reservation.protected MapEvent
OverflowMap.Status.waitForAvailable()
Wait for the Entry that this Status represents to become available.protected MapEvent
SimpleOverflowMap.Status.waitForAvailable()
Wait for the Entry that this Status represents to become available.Modifier and TypeMethodDescriptionprotected void
Dispatch the event to the corresponding listeners.protected void
LocalCache.dispatchEvent
(MapEvent evt) Dispatch the passed event.protected void
OverflowMap.dispatchEvent
(OverflowMap.Status status, MapEvent evt) Dispatch the passed event.protected ConfigurableCacheMap
AbstractEvictionPolicy.ensureCache
(MapEvent evt) Return the ConfigurableCacheMap that uses this eviction policy.void
AbstractEvictionPolicy.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
CachingMap.DeactivationListener.entryDeleted
(MapEvent evt) void
CachingMap.FrontMapListener.entryDeleted
(MapEvent evt) void
ContinuousQueryCache.DeactivationListener.entryDeleted
(MapEvent evt) void
LocalCache.InternalListener.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
ReadWriteBackingMap.InternalMapListener.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
SeppukuMapListener.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
VersionedNearCache.VersionCacheListener.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
AbstractEvictionPolicy.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
LocalCache.InternalListener.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
ReadWriteBackingMap.InternalMapListener.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
SeppukuMapListener.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
AbstractEvictionPolicy.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
CachingMap.DeactivationListener.entryUpdated
(MapEvent evt) void
ContinuousQueryCache.DeactivationListener.entryUpdated
(MapEvent evt) void
LocalCache.InternalListener.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
ReadWriteBackingMap.InternalMapListener.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
SeppukuMapListener.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
VersionedNearCache.VersionCacheListener.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.protected ConfigurableCacheMap.Entry
Return the map entry associated with the given map event.protected static Object
OverflowMap.getLatestOldValue
(MapEvent evt) Obtain the latest old value from the passed event.protected boolean
Check if the specified event is a "priming" one.protected static boolean
OverflowMap.isSynthetic
(MapEvent evt) Helper method to determine if an event is synthetic.protected static MapEvent
OverflowMap.mergeEvents
(MapEvent evtOld, MapEvent evtNew) Merge two events that have been raised in sequence from a given map.protected MapEvent
SimpleOverflowMap.Status.mergeEvents
(MapEvent evtOld, MapEvent evtNew) Merge two events that have been raised in sequence from a given map.protected void
OverflowMap.onBackEvent
(MapEvent evtBack) Handle an event occuring against the "back" map.protected void
OverflowMap.onFrontEvent
(MapEvent evt) Either handle an event by turning it over to another thread that is processing the key specified by the event, or take responsibility on this thread for deferring the event and registering its immediate side-effects.protected void
SimpleOverflowMap.onFrontEvent
(MapEvent evt) Either handle an event by turning it over to another thread that is processing the key specified by the event, or take responsibility on this thread for deferring the event and registering its immediate side-effects.protected void
CachingMap.PrimingListener.onMapEvent
(MapEvent evt) protected void
CachingMap.SimpleListener.onMapEvent
(MapEvent evt) protected void
ContinuousQueryCache.AddListener.onMapEvent
(MapEvent<K, V_FRONT> evt) protected void
ContinuousQueryCache.EventRouter.onMapEvent
(MapEvent<K, V> evt) protected void
ContinuousQueryCache.InternalMapListener.onMapEvent
(MapEvent<K, V_FRONT> evt) Dispatch events received from the internal map to theMapListenerSupport
's registeredMapListener
s.protected void
ContinuousQueryCache.RemoveListener.onMapEvent
(MapEvent<K, V_FRONT> evt) protected void
OverflowMap.BackMapListener.onMapEvent
(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted.protected void
OverflowMap.FrontMapListener.onMapEvent
(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted.protected void
SimpleOverflowMap.FrontMapListener.onMapEvent
(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted.protected void
A value modification event (insert or update) has occurred.protected void
OverflowMap.processBackEvent
(OverflowMap.Status status, MapEvent evtBack) Process an event.protected void
OverflowMap.processEvent
(OverflowMap.Status status, MapEvent evt) Process an arbitrary event that has occurred against either the front or back map.protected void
OverflowMap.processFrontEvent
(OverflowMap.Status status, MapEvent evtFront) Process an event.protected void
SimpleOverflowMap.processFrontEvent
(SimpleOverflowMap.Status status, MapEvent evt) Process an event.boolean
OverflowMap.Status.registerBackEvent
(MapEvent evt) Register a MapEvent that has been raised by the back Map against the same key for which this Status object exists.boolean
OverflowMap.Status.registerFrontEvent
(MapEvent evt) Register a MapEvent that has been raised by the front Map against the same key for which this Status object exists.boolean
SimpleOverflowMap.Status.registerFrontEvent
(MapEvent evt) Register a MapEvent that has been raised by the front Map against the same key for which this Status object exists.protected void
OverflowMap.Status.setBackEvent
(MapEvent evt) For internal use only, store the current event from the back Map.protected void
OverflowMap.Status.setFrontEvent
(MapEvent evt) For internal use only, store the current event from the front Map.protected void
SimpleOverflowMap.Status.setFrontEvent
(MapEvent evt) For internal use only, store the current event from the front Map.protected void
Validate the front map entry for the specified back map event.protected static void
OverflowMap.warnEventSequence
(MapEvent evtOld, MapEvent evtNew) Issue a one-time warning that events are being received in an order than cannot be explained by normal operation according to the contracts expected by this OverflowMap.protected static void
SimpleOverflowMap.warnEventSequence
(MapEvent evtOld, MapEvent evtNew) Issue a one-time warning that events are being received in an order than cannot be explained by normal operation according to the contracts expected by this OverflowMap.protected void
OverflowMap.warnUnfathomable
(MapEvent evt) Something totally inexplicable has occurred. -
Uses of MapEvent in com.tangosol.persistence
Modifier and TypeMethodDescriptionstatic com.oracle.coherence.persistence.PersistentStore.Visitor
<ReadBuffer> CachePersistenceHelper.instantiateEventsVisitor
(long lExtentId, Filter filter, long lVersion, Map<Long, MapEvent> mapEvents, Converter<Long, ReadBuffer> convKeyDown, Converter<ReadBuffer, Long> convKeyUp, Converter<Object, ReadBuffer> convDown, Converter<ReadBuffer, Object> convUp) Create aPersistentStore.Visitor
that can read a PersistentStore and populate the providedmapEvents
with events that are larger than the provided version (inclusive) and match the givenFilter
.static com.oracle.coherence.persistence.PersistentStore.Visitor
<ReadBuffer> CachePersistenceHelper.instantiateEventsVisitor
(long lExtentId, Set setKeys, long lVersion, Map<Long, MapEvent> mapEvents, Converter<Long, ReadBuffer> convKeyDown, Converter<ReadBuffer, Long> convKeyUp, Converter<Object, ReadBuffer> convDown, Converter<ReadBuffer, Object> convUp) Create aPersistentStore.Visitor
that can read a PersistentStore and populate the providedmapEvents
with events that are larger than the provided version (inclusive) and within the given set of keys. -
Uses of MapEvent in com.tangosol.util
Modifier and TypeClassDescriptionprotected static class
A DeferredCacheEvent is aCacheEvent
object that defers the loading of theold value
.static class
A Converter CacheEvent views an underlying CacheEvent through a set of key and value Converters.static class
A ConverterMapEvent views an underlying MapEvent through a set of key and value Converters.static class
An extension of the CacheEvent which may carry no values (old or new), but instead holds on an array of Filter objects being the "cause" of the event.Modifier and TypeFieldDescriptionprotected final MapEvent
MapListenerSupport.FilterEvent.f_event
Optional wrapped MapEvent.ConverterCollections.ConverterMapEvent.m_event
The underlying MapEvent.Modifier and TypeMethodDescriptionstatic 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
MapListenerSupport.enrichEvent
(MapEvent event, Listeners listeners) Transform the given MapEvent into a FilterEvent if it is not already a FilterEvent and there are matching filters associated with the specified Listeners object.ConverterCollections.ConverterMapEvent.getMapEvent()
Return the underlying MapEvent.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.MapListenerSupport.FilterEvent.getMapEvent()
Return the wrapped event.Transform the specified MapEvent.static MapEvent
MapListenerSupport.unwrapEvent
(MapEvent evt) Unwrap the specified map event and return the underlying source event.MapEvent.with
(int nPartition, long lVersion) Return a MapEvent that is enriched with the provided partition and version.Modifier and TypeMethodDescriptionMapListenerSupport.collectListeners
(MapEvent event) Collect all Listeners that should be notified for a given event.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.protected void
ObservableHashMap.dispatchEvent
(MapEvent evt) Dispatch the passed event.protected void
WrapperObservableMap.dispatchEvent
(MapEvent<? extends K, ? extends V> evt) Dispatch the passed event.static MapEvent
MapListenerSupport.enrichEvent
(MapEvent event, Listeners listeners) Transform the given MapEvent into a FilterEvent if it is not already a FilterEvent and there are matching filters associated with the specified Listeners object.void
AbstractMapListener.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
InvocableMapHelper.IndexAdapter.entryDeleted
(MapEvent evt) Invoked when a map entry has been removed.void
MapListener.entryDeleted
(MapEvent<K, V> evt) Invoked when a map entry has been removed.void
MultiplexingMapListener.entryDeleted
(MapEvent<K, V> evt) Invoked when a map entry has been removed.void
AbstractMapListener.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
InvocableMapHelper.IndexAdapter.entryInserted
(MapEvent evt) Invoked when a map entry has been inserted.void
MapListener.entryInserted
(MapEvent<K, V> evt) Invoked when a map entry has been inserted.void
MultiplexingMapListener.entryInserted
(MapEvent<K, V> evt) Invoked when a map entry has been inserted.void
AbstractMapListener.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
InvocableMapHelper.IndexAdapter.entryUpdated
(MapEvent evt) Invoked when a map entry has been updated.void
MapListener.entryUpdated
(MapEvent<K, V> evt) Invoked when a map entry has been updated.void
MultiplexingMapListener.entryUpdated
(MapEvent<K, V> evt) Invoked when a map entry has been updated.protected boolean
MapListenerSupport.evaluateEvent
(Filter filter, MapEvent event) Evaluate whether or not the specified event should be delivered to the listener associated with the specified filter.void
Fire the specified map event.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.protected static <K,
V> boolean WrapperObservableMap.isSynthetic
(MapEvent<K, V> evt) Helper method to determine if an event is synthetic.protected boolean
MapListenerSupport.isTransformedEvent
(MapEvent event) Return true iff the specified event represents a transformed CacheEvent.protected boolean
MapListenerSupport.isVersionUpdate
(MapEvent event) Return true if the provided MapEvent is due to a synthetic version update.protected void
ConverterCollections.ConverterCacheListener.onMapEvent
(MapEvent<K, V> evt) protected void
ConverterCollections.ConverterMapListener.onMapEvent
(MapEvent<K, V> evt) protected void
MapListenerSupport.WrapperListener.onMapEvent
(MapEvent<K, V> evt) Invoked when a map entry has been inserted, updated or deleted.protected void
MapListenerSupport.WrapperPrimingListener.onMapEvent
(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted.protected void
MapTriggerListener.onMapEvent
(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted.protected abstract void
MultiplexingMapListener.onMapEvent
(MapEvent<K, V> evt) Invoked when a map entry has been inserted, updated or deleted.protected void
WrapperObservableMap.InternalListener.onMapEvent
(MapEvent<K, V> evt) Invoked when a map entry has been inserted, updated or deleted.Transform the specified MapEvent.static MapEvent
MapListenerSupport.unwrapEvent
(MapEvent evt) Unwrap the specified map event and return the underlying source event.ModifierConstructorDescriptionConverterMapEvent
(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.FilterEvent
(MapEvent event, Filter[] aFilter) Constructs a new FilterEvent that wraps the given MapEvent. -
Uses of MapEvent in com.tangosol.util.filter
Modifier and TypeMethodDescriptionRemove an old value from the specified MapEvent.Modifier and TypeMethodDescriptionboolean
Apply the test to the input argument.boolean
Apply the test to the input argument.boolean
Apply the test to the input argument.Remove an old value from the specified MapEvent. -
Uses of MapEvent in com.tangosol.util.transformer
Modifier and TypeMethodDescriptionTransform the specified MapEvent using the corresponding extractors.Remove an old value from the specified MapEvent.Modifier and TypeMethodDescriptionTransform the specified MapEvent using the corresponding extractors.Remove an old value from the specified MapEvent.