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
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
getInstance
public static JavaGroupsCommunicator getInstance()
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
- Throws:
java.lang.Throwable
send
public 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
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.