public class CacheManagerNotifierImpl extends AbstractListenerImpl implements CacheManagerNotifier
AbstractListenerImpl.ListenerInvocationasyncProcessor, listenersMap, syncProcessor| Constructor and Description |
|---|
CacheManagerNotifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Class<? extends Annotation>,Class> |
getAllowedMethodAnnotations() |
protected Log |
getLog() |
void |
injectCacheManager(EmbeddedCacheManager cacheManager) |
void |
notifyCacheStarted(String cacheName) |
void |
notifyCacheStopped(String cacheName) |
void |
notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
Notifies all registered listeners of a viewChange event.
|
addListener, getListenerCollectionForAnnotation, getListeners, removeListener, start, testListenerClassValidity, testListenerMethodValidityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, getListeners, removeListenerpublic void injectCacheManager(EmbeddedCacheManager cacheManager)
public void notifyViewChange(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId)
CacheManagerNotifiernotifyViewChange in interface CacheManagerNotifierpublic void notifyMerge(List<Address> members, List<Address> oldMembers, Address myAddress, int viewId, List<List<Address>> subgroupsMerged)
notifyMerge in interface CacheManagerNotifierpublic void notifyCacheStarted(String cacheName)
notifyCacheStarted in interface CacheManagerNotifierpublic void notifyCacheStopped(String cacheName)
notifyCacheStopped in interface CacheManagerNotifierprotected Log getLog()
getLog in class AbstractListenerImplprotected Map<Class<? extends Annotation>,Class> getAllowedMethodAnnotations()
getAllowedMethodAnnotations in class AbstractListenerImplCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.