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

java.lang.Object
  extended byorg.shiftone.cache.decorator.cluster.jgroups.JGroupsTransport
All Implemented Interfaces:
Transport

public class JGroupsTransport
extends java.lang.Object
implements Transport


Constructor Summary
JGroupsTransport(JGroupsClusterCacheFactory factory)
           
 
Method Summary
(package private)  void log(java.lang.String text)
           
 void memberJoined(org.jgroups.Address address)
           
 void memberLeft(org.jgroups.Address address)
           
 void sendNotification(Notification notification)
           
 void setAloneInCluster(boolean aloneInCluster)
           
 void setNotificationListener(NotificationListener notificationListener)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGroupsTransport

public JGroupsTransport(JGroupsClusterCacheFactory factory)
                 throws java.lang.Exception
Method Detail

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)