net.sf.swarmcache
Class JavaGroupsCommunicator
java.lang.Object
|
+--net.sf.swarmcache.Communicator
|
+--net.sf.swarmcache.JavaGroupsCommunicator
- All Implemented Interfaces:
- org.jgroups.blocks.NotificationBus.Consumer
- public class JavaGroupsCommunicator
- extends Communicator
- implements org.jgroups.blocks.NotificationBus.Consumer
Created by IntelliJ IDEA.
User: jwat
Date: Jul 25, 2003
Time: 11:47:57 AM
To change this template use Options | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUS_NAME
public static final java.lang.String BUS_NAME
- See Also:
- Constant Field Values
CHANNEL_PROPERTIES
public static final java.lang.String CHANNEL_PROPERTIES
- See Also:
- Constant Field Values
JavaGroupsCommunicator
public JavaGroupsCommunicator(java.lang.String properties)
shutDown
public void shutDown()
- Description copied from class:
Communicator
- Called by the cache manager to shut down the communicator.
- Specified by:
shutDown
in class Communicator
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
java.lang.Throwable
send
protected final void send(CacheNotification notification)
- Description copied from class:
Communicator
- Implement this to send a cache notification over the communications layer.
- Specified by:
send
in class Communicator
- Parameters:
notification
- the cache notification to send.
getCache
public java.io.Serializable getCache()
- Specified by:
getCache
in interface org.jgroups.blocks.NotificationBus.Consumer
handleNotification
public void handleNotification(java.io.Serializable object)
- Specified by:
handleNotification
in interface org.jgroups.blocks.NotificationBus.Consumer
memberJoined
public void memberJoined(org.jgroups.Address who)
- Specified by:
memberJoined
in interface org.jgroups.blocks.NotificationBus.Consumer
memberLeft
public void memberLeft(org.jgroups.Address who)
- Specified by:
memberLeft
in interface org.jgroups.blocks.NotificationBus.Consumer