Package org.onosproject.cluster
Class NodeId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.String>
-
- org.onosproject.cluster.NodeId
-
- All Implemented Interfaces:
java.lang.Comparable<NodeId>
public final class NodeId extends Identifier<java.lang.String> implements java.lang.Comparable<NodeId>
Controller cluster identity.
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Constructor Summary
Constructors Constructor Description NodeId(java.lang.String id)
Creates a new cluster node identifier from the specified string.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(NodeId that)
static NodeId
nodeId(java.lang.String id)
Creates a new cluster node identifier from the specified string.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-