public interface ClusterTopologyListener
Modifier and Type | Method and Description |
---|---|
void |
clusterOffline(ClusterNode node)
This node has lost contact (possibly temporarily) with the cluster and cannot execute
clustered operations
|
void |
clusterOnline(ClusterNode node)
This node has established contact with the cluster and can execute clustered operations.
|
void |
clusterRejoined(ClusterNode oldNode,
ClusterNode newNode)
This node lost contact and rejoined the cluster again.
|
void |
nodeJoined(ClusterNode node)
A node has joined the cluster
|
void |
nodeLeft(ClusterNode node)
A node has left the cluster
|
void nodeJoined(ClusterNode node)
node
- The joining nodevoid nodeLeft(ClusterNode node)
node
- The departing nodevoid clusterOnline(ClusterNode node)
node
- The current nodevoid clusterOffline(ClusterNode node)
node
- The current nodevoid clusterRejoined(ClusterNode oldNode, ClusterNode newNode)
oldNode
- The old node which got disconnectednewNode
- The new node after rejoinCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.