EHC ❯ support how to find out if current node is connected to cluster or not
-
New Feature
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
hsingh
-
Reporter: asingh
-
April 01, 2010
-
0
-
Watchers: 1
-
January 17, 2013
-
April 14, 2010
Description
Right now using net.sf.ehcache.cluster.CacheCluster, thr’s no api to find out if the current node is connected to the cluster or not. In fact, one cannot find out current node’s net.sf.ehcache.cluster.ClusterNode
Also should add methods in ClusterTopologyListener to get notified when “this” node joins or leaves the cluster.
Comments
Abhishek Singh 2010-04-01
Abhishek Singh 2010-04-05
Probably makes sense to add methods, something like below:
boolean isNodeJoined(); ClusterNode getCurrentNode(); ClusterNode waitUntilNodeJoinsCluster();
Abhishek Singh 2010-04-14
Added method isClusterOnline() – rev-2191 Other methods discussed in above comments not added.
This feature is required for implementing disconnected mode – DEV-3946