Package org.infinispan.anchored.impl
Class AnchoredCacheNotifier<K,V>
java.lang.Object
org.infinispan.notifications.impl.AbstractListenerImpl<org.infinispan.notifications.cachelistener.event.Event<K,V>,org.infinispan.notifications.cachelistener.CacheEntryListenerInvocation<K,V>>
org.infinispan.notifications.cachelistener.CacheNotifierImpl<K,V>
org.infinispan.anchored.impl.AnchoredCacheNotifier<K,V>
- All Implemented Interfaces:
org.infinispan.notifications.cachelistener.CacheNotifier<K,,V> org.infinispan.notifications.cachelistener.cluster.ClusterCacheNotifier<K,,V> org.infinispan.notifications.ClassLoaderAwareFilteringListenable<K,,V> org.infinispan.notifications.ClassLoaderAwareListenable,org.infinispan.notifications.DataConversionAwareListenable<K,,V> org.infinispan.notifications.FilteringListenable<K,,V> org.infinispan.notifications.Listenable
public class AnchoredCacheNotifier<K,V>
extends org.infinispan.notifications.cachelistener.CacheNotifierImpl<K,V>
Adjust notifications for anchored keys caches.
- Invoke clustered listeners from the primary owner
- Skip notifications for entries that only store a location.
- Since:
- 11
- Author:
- Dan Berindei
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.notifications.cachelistener.CacheNotifierImpl
org.infinispan.notifications.cachelistener.CacheNotifierImpl.BaseCacheEntryListenerInvocation<K,V>, org.infinispan.notifications.cachelistener.CacheNotifierImpl.CacheInvocationBuilder, org.infinispan.notifications.cachelistener.CacheNotifierImpl.ClusteredListenerInvocation<K, V>, org.infinispan.notifications.cachelistener.CacheNotifierImpl.DelegatingCacheInvocationBuilder Nested classes/interfaces inherited from class org.infinispan.notifications.impl.AbstractListenerImpl
org.infinispan.notifications.impl.AbstractListenerImpl.AbstractInvocationBuilder, org.infinispan.notifications.impl.AbstractListenerImpl.ListenerInvocationImpl<A> -
Field Summary
Fields inherited from class org.infinispan.notifications.impl.AbstractListenerImpl
asyncProcessor, listenersMap -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.infinispan.notifications.cachelistener.CacheNotifierImpl
addFilteredListenerAsync, addFilteredListenerAsync, addListenerAsync, addListenerAsync, addListenerAsync, addListenerAsync, addStorageFormatFilteredListenerAsync, getAllowedMethodAnnotations, getListenerCollectionForAnnotation, getLog, isNotificationAllowed, notifyCacheEntriesEvicted, notifyCacheEntryActivated, notifyCacheEntryCreated, notifyCacheEntryExpired, notifyCacheEntryInvalidated, notifyCacheEntryLoaded, notifyCacheEntryModified, notifyCacheEntryPassivated, notifyCacheEntryRemoved, notifyCacheEntryVisited, notifyClusterListeners, notifyDataRehashed, notifyPartitionStatusChanged, notifyPersistenceAvailabilityChanged, notifyTopologyChanged, notifyTransactionCompleted, notifyTransactionRegistered, removeListenerAsync, removeListenerInvocation, resumeIfNeeded, retrieveClusterListenerCallablesToInstall, start, stop, suspendIfNeededMethods inherited from class org.infinispan.notifications.impl.AbstractListenerImpl
canApply, composeStageIfNeeded, findListenerCallbacks, getListeners, handleException, hasListener, hasListeners, invokeListeners, removeListenerFromMaps, resumeOnCPU, testListenerClassValidity, testListenerMethodValidity, validateAndAddFilterListenerInvocations, validateAndAddListenerInvocationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.notifications.cachelistener.CacheNotifier
getListeners, hasListener, hasListenersMethods inherited from interface org.infinispan.notifications.ClassLoaderAwareFilteringListenable
addListenerMethods inherited from interface org.infinispan.notifications.ClassLoaderAwareListenable
addListenerMethods inherited from interface org.infinispan.notifications.DataConversionAwareListenable
addFilteredListener, addListenerMethods inherited from interface org.infinispan.notifications.FilteringListenable
addFilteredListener, addListener, addStorageFormatFilteredListenerMethods inherited from interface org.infinispan.notifications.Listenable
addListener, removeListener
-
Constructor Details
-
AnchoredCacheNotifier
public AnchoredCacheNotifier()
-
-
Method Details
-
clusterListenerOnPrimaryOnly
protected boolean clusterListenerOnPrimaryOnly() -
addListenerAsync
-