Interface CacheManagerNotifier
-
- All Superinterfaces:
Listenable
- All Known Implementing Classes:
CacheManagerNotifierImpl
public interface CacheManagerNotifier extends Listenable
Notifications for the cache manager- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyCacheStarted(String cacheName)voidnotifyCacheStopped(String cacheName)voidnotifyMerge(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId, List<List<Address>> subgroupsMerged)voidnotifyViewChange(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId)Notifies all registered listeners of a viewChange event.-
Methods inherited from interface org.infinispan.notifications.Listenable
addListener, getListeners, removeListener
-
-
-
-
Method Detail
-
notifyViewChange
void notifyViewChange(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId)
Notifies all registered listeners of a viewChange event. Note that viewChange notifications are ALWAYS sent immediately.
-
notifyCacheStarted
void notifyCacheStarted(String cacheName)
-
notifyCacheStopped
void notifyCacheStopped(String cacheName)
-
-