Package | Description |
---|---|
org.infinispan.notifications.cachelistener |
Cache -specific notifications and eventing. |
org.infinispan.notifications.cachelistener.cluster | |
org.infinispan.notifications.cachelistener.event |
Cache -specific listener events |
org.infinispan.notifications.cachelistener.event.impl | |
org.infinispan.notifications.cachelistener.filter |
Cache -specific notifications and eventing filtering classes. |
Modifier and Type | Method and Description |
---|---|
protected CacheEntryEvent<K,V> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.convertValue(CacheEventConverter<? super K,? super V,?> converter,
CacheEntryEvent<K,V> event) |
protected CacheEntryEvent<K,V> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.shouldInvoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner) |
Modifier and Type | Method and Description |
---|---|
protected CacheEntryEvent<K,V> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.convertValue(CacheEventConverter<? super K,? super V,?> converter,
CacheEntryEvent<K,V> event) |
protected CacheEntryEvent<K,V> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.shouldInvoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner) |
Modifier and Type | Method and Description |
---|---|
protected CompletionStage<Void> |
CacheNotifierImpl.ClusteredListenerInvocation.doRealInvocation(EventWrapper<K,V,CacheEntryEvent<K,V>> wrapped) |
protected CompletionStage<Void> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.doRealInvocation(EventWrapper<K,V,CacheEntryEvent<K,V>> event) |
CompletionStage<Void> |
CacheEntryListenerInvocation.invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event,
boolean isLocalNodePrimaryOwner)
Invokes the event
|
CompletionStage<Void> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> wrapped,
boolean isLocalNodePrimaryOwner)
This is the entry point for local listeners firing events
|
CompletionStage<Void> |
CacheEntryListenerInvocation.invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrappedEvent,
boolean skipQueue,
boolean skipConverter,
boolean needsTransform)
Invokes the event without applying filters or converters
|
CompletionStage<Void> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrapped,
boolean skipQueue,
boolean skipConverter,
boolean needsTransform)
This is the entry point for remote listener events being fired
|
Constructor and Description |
---|
ClusteredListenerInvocation(EncoderRegistry encoderRegistry,
ListenerInvocation<Event<K,V>> invocation,
QueueingSegmentListener<K,V,CacheEntryEvent<K,V>> handler,
CacheEventFilter<? super K,? super V> filter,
CacheEventConverter<? super K,? super V,?> converter,
Class<? extends Annotation> annotation,
boolean onlyPrimary,
UUID identifier,
boolean sync,
Listener.Observation observation,
Set<Class<? extends Annotation>> filterAnnotations,
DataConversion keyDataConversion,
DataConversion valueDataConversion,
boolean useStorageFormat) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterEvent<K,V>
This is an event designed for use with cluster listeners solely.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ClusterEvent<K,V> |
ClusterEvent.fromEvent(CacheEntryEvent<K,V> event) |
CompletionStage<Void> |
RemoteClusterListener.handleClusterEvents(CacheEntryEvent event) |
Modifier and Type | Interface and Description |
---|---|
interface |
CacheEntryActivatedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryActivated . |
interface |
CacheEntryCreatedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryCreated . |
interface |
CacheEntryExpiredEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryExpired . |
interface |
CacheEntryInvalidatedEvent<K,V>
Notifies a listener of an invalidation event.
|
interface |
CacheEntryLoadedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryLoaded . |
interface |
CacheEntryModifiedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryModified
The CacheEntryModifiedEvent.getValue() method's behavior is specific to whether the callback is triggered before or after the event
in question. |
interface |
CacheEntryPassivatedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryPassivated . |
interface |
CacheEntryRemovedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryRemoved . |
interface |
CacheEntryVisitedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntryVisited . |
Modifier and Type | Class and Description |
---|---|
class |
EventImpl<K,V>
Basic implementation of an event that covers all event types.
|
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
DelegatingCacheEntryListenerInvocation.invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event,
boolean isLocalNodePrimaryOwner) |
CompletionStage<Void> |
DelegatingCacheEntryListenerInvocation.invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> event,
boolean skipQueue,
boolean skipConverter,
boolean needsTransform) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.