Interface ClusterNodeInfo
-
public interface ClusterNodeInfoBasic information about a cluster node.- Author:
- Gaston Dombiak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHostName()Returns the hostname where the cluster node is running.longgetJoinedTime()Return the date/time value (in cluster time) that the Member joined.NodeIDgetNodeID()Returns the ID that uniquely identifies this node.booleanisSeniorMember()Returns true if this member is the senior member in the cluster.
-
-
-
Method Detail
-
getHostName
String getHostName()
Returns the hostname where the cluster node is running.- Returns:
- the hostname where the cluster node is running.
-
getNodeID
NodeID getNodeID()
Returns the ID that uniquely identifies this node.- Returns:
- the ID that uniquely identifies this node.
-
getJoinedTime
long getJoinedTime()
Return the date/time value (in cluster time) that the Member joined.- Returns:
- the date/time value (in cluster time) that the Member joined.
-
isSeniorMember
boolean isSeniorMember()
Returns true if this member is the senior member in the cluster.- Returns:
- true if this cluster member is the senior.
-
-