Class DistributedCache.NodeInfo
- java.lang.Object
-
- io.github.dhruv1110.jcachex.distributed.DistributedCache.NodeInfo
-
- Enclosing interface:
- DistributedCache<K,V>
public static class DistributedCache.NodeInfo extends Object
Information about a cluster node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
long
getLastSeen()
String
getNodeId()
Set<Integer>
getPartitions()
DistributedCache.NodeStatus
getStatus()
-
-
-
Constructor Detail
-
NodeInfo
public NodeInfo(String nodeId, String address, DistributedCache.NodeStatus status, long lastSeen, Set<Integer> partitions)
-
-
Method Detail
-
getNodeId
public String getNodeId()
-
getAddress
public String getAddress()
-
getStatus
public DistributedCache.NodeStatus getStatus()
-
getLastSeen
public long getLastSeen()
-
-