public abstract class Communicator
extends java.lang.Object
Constructor and Description |
---|
Communicator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupName() |
MultiCacheManager |
getManager() |
protected void |
receive(CacheNotification notification)
Call when a notification is received by the communications layer.
|
protected abstract void |
send(CacheNotification notification)
Implement this to send a cache notification over the communications layer.
|
protected void |
setGroupName(java.lang.String groupName) |
void |
setManager(MultiCacheManager manager) |
abstract void |
shutDown()
Called by the cache manager to shut down the communicator.
|
protected void setGroupName(java.lang.String groupName)
public java.lang.String getGroupName()
public void setManager(MultiCacheManager manager)
public MultiCacheManager getManager()
protected void receive(CacheNotification notification)
notification
- the parsed cache notification.protected abstract void send(CacheNotification notification)
notification
- the cache notification to send.public abstract void shutDown()