org.infinispan.notifications.cachemanagerlistener
Class CacheManagerNotifierImpl
java.lang.Object
org.infinispan.notifications.AbstractListenerImpl
org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl
- All Implemented Interfaces:
- CacheManagerNotifier, Listenable
public class CacheManagerNotifierImpl
- extends AbstractListenerImpl
- implements CacheManagerNotifier
Global, shared notifications on the cache manager.
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheManagerNotifierImpl
public CacheManagerNotifierImpl()
injectCacheManager
public void injectCacheManager(CacheManager cacheManager)
notifyViewChange
public void notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
- Description copied from interface:
CacheManagerNotifier
- Notifies all registered listeners of a viewChange event. Note that viewChange notifications are ALWAYS sent
immediately.
- Specified by:
notifyViewChange
in interface CacheManagerNotifier
notifyCacheStarted
public void notifyCacheStarted(String cacheName)
- Specified by:
notifyCacheStarted
in interface CacheManagerNotifier
notifyCacheStopped
public void notifyCacheStopped(String cacheName)
- Specified by:
notifyCacheStopped
in interface CacheManagerNotifier
getLog
protected Log getLog()
- Specified by:
getLog
in class AbstractListenerImpl
getAllowedMethodAnnotations
protected Map<Class<? extends Annotation>,Class> getAllowedMethodAnnotations()
- Specified by:
getAllowedMethodAnnotations
in class AbstractListenerImpl
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.