Interface ClusterNodeInfo
public interface ClusterNodeInfo
Basic information about a cluster node.
- Author:
- Gaston Dombiak
-
Method Summary
Modifier and TypeMethodDescriptionReturns the hostname where the cluster node is running.long
Return the date/time value (in cluster time) that the Member joined.Returns the ID that uniquely identifies this node.boolean
Returns true if this member is the senior member in the cluster.
-
Method Details
-
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.
-