public class CacheClusterStateStatisticsListener extends Object implements 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.
|
long |
getMostRecentRejoinTimeStampMS()
Gets the last rejoin time stamp nanos.
|
void |
nodeJoined(ClusterNode node)
A node has joined the cluster
|
void |
nodeLeft(ClusterNode node)
A node has left the cluster
|
public void nodeLeft(ClusterNode node)
ClusterTopologyListenernodeLeft in interface ClusterTopologyListenernode - The departing nodepublic void nodeJoined(ClusterNode node)
ClusterTopologyListenernodeJoined in interface ClusterTopologyListenernode - The joining nodepublic void clusterRejoined(ClusterNode oldNode, ClusterNode newNode)
ClusterTopologyListenerThis event is only fired in the node which rejoined and not to all the connected nodes
clusterRejoined in interface ClusterTopologyListeneroldNode - The old node which got disconnectednewNode - The new node after rejoinpublic void clusterOnline(ClusterNode node)
ClusterTopologyListenerclusterOnline in interface ClusterTopologyListenernode - The current nodepublic void clusterOffline(ClusterNode node)
ClusterTopologyListenerclusterOffline in interface ClusterTopologyListenernode - The current nodepublic long getMostRecentRejoinTimeStampMS()
Copyright 2001-2021, Terracotta, Inc.