|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.CacheClusterStateStatisticsListener
public class CacheClusterStateStatisticsListener
A listener to capture statistics relating to cluster events regarding this node. This should really be a single listener, at the cache manager level, with CacheManager statistics. But we don't have that concept at the moment. Sad face.
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void nodeLeft(ClusterNode node)
ClusterTopologyListener
nodeLeft in interface ClusterTopologyListenernode - The departing nodepublic void nodeJoined(ClusterNode node)
ClusterTopologyListener
nodeJoined in interface ClusterTopologyListenernode - The joining node
public void clusterRejoined(ClusterNode oldNode,
ClusterNode newNode)
ClusterTopologyListener
clusterRejoined in interface ClusterTopologyListeneroldNode - The old node which got disconnectednewNode - The new node after rejoinpublic void clusterOnline(ClusterNode node)
ClusterTopologyListener
clusterOnline in interface ClusterTopologyListenernode - The current nodepublic void clusterOffline(ClusterNode node)
ClusterTopologyListener
clusterOffline in interface ClusterTopologyListenernode - The current nodepublic long getMostRecentRejoinTimeStampMS()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||