Class DistributedCache.ClusterTopology
- java.lang.Object
-
- io.github.dhruv1110.jcachex.distributed.DistributedCache.ClusterTopology
-
- Enclosing interface:
- DistributedCache<K,V>
public static class DistributedCache.ClusterTopology extends Object
Cluster topology information.
-
-
Constructor Summary
Constructors Constructor Description ClusterTopology(String clusterName, Set<DistributedCache.NodeInfo> nodes, int partitionCount, long version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClusterName()
int
getHealthyNodeCount()
Set<DistributedCache.NodeInfo>
getNodes()
int
getPartitionCount()
long
getVersion()
-
-
-
Constructor Detail
-
ClusterTopology
public ClusterTopology(String clusterName, Set<DistributedCache.NodeInfo> nodes, int partitionCount, long version)
-
-
Method Detail
-
getClusterName
public String getClusterName()
-
getNodes
public Set<DistributedCache.NodeInfo> getNodes()
-
getPartitionCount
public int getPartitionCount()
-
getVersion
public long getVersion()
-
getHealthyNodeCount
public int getHealthyNodeCount()
-
-