Package | Description |
---|---|
org.infinispan.atomic.container | |
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 |
---|---|
void |
Container.onCacheModification(CacheEntryEvent event)
Deprecated.
|
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) |
void |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner)
This is the entry point for local listeners firing events
|
void |
CacheEntryListenerInvocation.invoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner) |
void |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.invokeNoChecks(CacheEntryEvent<K,V> event,
boolean skipQueue,
boolean skipConverter)
This is the entry point for remote listener events being fired
|
void |
CacheEntryListenerInvocation.invokeNoChecks(CacheEntryEvent<K,V> event,
boolean skipQueue,
boolean skipConverter) |
protected CacheEntryEvent<K,V> |
CacheNotifierImpl.BaseCacheEntryListenerInvocation.shouldInvoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner) |
Modifier and Type | Method and Description |
---|---|
void |
CacheNotifierImpl.notifyClusterListeners(Collection<? extends CacheEntryEvent<K,V>> events,
UUID uuid) |
Constructor and Description |
---|
ClusteredListenerInvocation(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) |
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) |
void |
RemoteClusterListener.handleClusterEvents(CacheEntryEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterCacheNotifier.notifyClusterListeners(Collection<? extends CacheEntryEvent<K,V>> events,
UUID listenerId)
Method that is invoked on the node that has the given cluster listener that when registered generated the given
listenerId.
|
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 |
---|---|
void |
DelegatingCacheEntryListenerInvocation.invoke(CacheEntryEvent<K,V> event,
boolean isLocalNodePrimaryOwner) |
void |
DelegatingCacheEntryListenerInvocation.invokeNoChecks(CacheEntryEvent<K,V> event,
boolean skipQueue,
boolean skipConverter) |
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.