public interface CacheManagerNotifier extends Listenable
Modifier and Type | Method and Description |
---|---|
boolean |
hasListener(Class<? extends Annotation> annotationClass)
Returns whether there is at least one listener registered for the given annotation
|
CompletionStage<Void> |
notifyCacheStarted(String cacheName) |
CompletionStage<Void> |
notifyCacheStopped(String cacheName) |
CompletionStage<Void> |
notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
CompletionStage<Void> |
notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
Notifies all registered listeners of a viewChange event.
|
addListener, addListenerAsync, getListeners, removeListener, removeListenerAsync
CompletionStage<Void> notifyViewChange(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId)
CompletionStage<Void> notifyCacheStarted(String cacheName)
CompletionStage<Void> notifyCacheStopped(String cacheName)
CompletionStage<Void> notifyMerge(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId, List<List<Address>> subgroupsMerged)
boolean hasListener(Class<? extends Annotation> annotationClass)
annotationClass
- annotation to test forCopyright © 2021 JBoss by Red Hat. All rights reserved.