org.shiftone.cache.decorator.cluster.jgroups
Class JGroupsListener

java.lang.Object
  extended byorg.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


Constructor Summary
JGroupsListener(JGroupsTransport transport)
           
 
Method Summary
 java.io.Serializable getCache()
           
 void handleNotification(java.io.Serializable serializable)
           
 void memberJoined(org.jgroups.Address address)
           
 void memberLeft(org.jgroups.Address address)
           
 void setNotificationListener(NotificationListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGroupsListener

public JGroupsListener(JGroupsTransport transport)
Method Detail

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