org.shiftone.cache.decorator.cluster.jgroups
Class JGroupsTransport
java.lang.Object
org.shiftone.cache.decorator.cluster.jgroups.JGroupsTransport
- All Implemented Interfaces:
- Transport
- public class JGroupsTransport
- extends java.lang.Object
- implements Transport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGroupsTransport
public JGroupsTransport(JGroupsClusterCacheFactory factory)
throws java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
log
void log(java.lang.String text)
sendNotification
public void sendNotification(Notification notification)
- Specified by:
sendNotification
in interface Transport
setNotificationListener
public void setNotificationListener(NotificationListener notificationListener)
- Specified by:
setNotificationListener
in interface Transport
memberJoined
public void memberJoined(org.jgroups.Address address)
memberLeft
public void memberLeft(org.jgroups.Address address)
setAloneInCluster
public void setAloneInCluster(boolean aloneInCluster)