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 | Class and Description |
---|---|
class |
EventWrapper<K,V,E extends Event<K,V>>
Simple wrapper that keeps the original key along with the converted event.
|
interface |
QueueingSegmentListener<K,V,E extends Event<K,V>>
This interface describes methods needed for a segment listener that is used when iterating over the current
events and be able to queue them properly
|
Modifier and Type | Field and Description |
---|---|
protected ListenerInvocation<Event<K,V>> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invocation |
Modifier and Type | Method and Description |
---|---|
protected CompletionStage<Void> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.doRealInvocation(Event<K,V> event) |
CompletionStage<Void> |
CacheNotifierImpl.ClusteredListenerInvocation.invoke(Event<K,V> event) |
CompletionStage<Void> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invoke(Event<K,V> event) |
protected boolean |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.shouldInvoke(Event<K,V> event) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueueingSegmentListener.handleEvent(EventWrapper<K,V,E> wrapper,
ListenerInvocation<Event<K,V>> invocation)
This should be called by any listener when an event is generated to possibly queue it.
|
Constructor and Description |
---|
BaseCacheEntryListenerInvocation(EncoderRegistry encoderRegistry,
ListenerInvocation<Event<K,V>> invocation,
CacheEventFilter<? super K,? super V> filter,
CacheEventConverter<? super K,? super V,?> converter,
Class<? extends Annotation> annotation,
boolean onlyPrimary,
boolean clustered,
UUID identifier,
boolean sync,
Listener.Observation observation,
Set<Class<? extends Annotation>> filterAnnotations,
DataConversion keyDataConversion,
DataConversion valueDataConversion,
boolean useStorageFormat) |
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 | Interface and Description |
---|---|
interface |
CacheEntriesEvictedEvent<K,V>
This event subtype is passed in to any method annotated with
CacheEntriesEvicted . |
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 |
CacheEntryEvent<K,V>
A transactional event subtype that additionally expose a key as such events pertain to a specific cache entry.
|
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 . |
interface |
DataRehashedEvent<K,V>
An event passed in to methods annotated with
DataRehashed . |
interface |
PartitionStatusChangedEvent<K,V>
The event passed in to methods annotated with
PartitionStatusChanged . |
interface |
PersistenceAvailabilityChangedEvent<K,V> |
interface |
TopologyChangedEvent<K,V>
The event passed in to methods annotated with
TopologyChanged . |
interface |
TransactionalEvent<K,V>
An event subtype that includes a transaction context - if one exists - as well as a boolean as to whether the call
originated locally or remotely.
|
interface |
TransactionCompletedEvent<K,V>
This event is passed in to any method annotated with
TransactionCompleted . |
interface |
TransactionRegisteredEvent<K,V>
This event is passed in to any method annotated with
TransactionRegistered . |
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(Event<K,V> event) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.