Package org.onosproject.cluster
Class Member
- java.lang.Object
-
- org.onosproject.cluster.Member
-
public final class Member extends java.lang.Object
Controller member identity.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
nodeId
public NodeId nodeId()
Returns the node identifier.- Returns:
- the node identifier
-
version
public Version version()
Returns the node version.- Returns:
- the node version
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-