public class NodeId extends AbstractIdentifier<java.lang.String> implements java.lang.Comparable<NodeId>
| Constructor and Description |
|---|
NodeId(java.lang.String id)
Creates a new cluster node identifier from the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeId |
anonymous()
Creates a new cluster node identifier from the specified string.
|
int |
compareTo(NodeId that) |
boolean |
equals(java.lang.Object object) |
static NodeId |
from(java.lang.String id)
Creates a new cluster node identifier from the specified string.
|
int |
hashCode() |
id, toStringpublic NodeId(java.lang.String id)
id - string identifierpublic static NodeId anonymous()
public static NodeId from(java.lang.String id)
id - string identifierpublic int hashCode()
hashCode in class AbstractIdentifier<java.lang.String>public boolean equals(java.lang.Object object)
equals in class AbstractIdentifier<java.lang.String>Copyright © 2013-2018. All Rights Reserved.