public final class Member
extends java.lang.Object
Constructor and Description |
---|
Member(NodeId nodeId,
Version version)
Creates a new cluster member identifier from the specified string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
NodeId |
nodeId()
Returns the node identifier.
|
java.lang.String |
toString() |
Version |
version()
Returns the node version.
|
public NodeId nodeId()
public Version version()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object