org.shiftone.cache.decorator.cluster.jgroups
Class JGroupsListener
java.lang.Object
org.shiftone.cache.decorator.cluster.jgroups.JGroupsListener
- All Implemented Interfaces:
- org.jgroups.blocks.NotificationBus.Consumer
- public class JGroupsListener
- extends java.lang.Object
- implements org.jgroups.blocks.NotificationBus.Consumer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGroupsListener
public JGroupsListener(JGroupsTransport transport)
setNotificationListener
public void setNotificationListener(NotificationListener listener)
handleNotification
public void handleNotification(java.io.Serializable serializable)
- Specified by:
handleNotification
in interface org.jgroups.blocks.NotificationBus.Consumer
getCache
public java.io.Serializable getCache()
- Specified by:
getCache
in interface org.jgroups.blocks.NotificationBus.Consumer
memberJoined
public void memberJoined(org.jgroups.Address address)
- Specified by:
memberJoined
in interface org.jgroups.blocks.NotificationBus.Consumer
memberLeft
public void memberLeft(org.jgroups.Address address)
- Specified by:
memberLeft
in interface org.jgroups.blocks.NotificationBus.Consumer