public final class NodeId extends Identifier<String> implements Comparable<NodeId>
identifier
Constructor and Description |
---|
NodeId(String id)
Creates a new cluster node identifier from the specified string.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeId that) |
static NodeId |
nodeId(String id)
Creates a new cluster node identifier from the specified string.
|
equals, hashCode, id, toString
public NodeId(String id)
id
- string identifier