org.infinispan.notifications.cachemanagerlistener
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
 void notifyCacheStarted(String cacheName)
           
 void notifyCacheStopped(String cacheName)
           
 void notifyViewChange(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)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.