public class HazelcastClusterNodeInformation extends Object implements ClusterNodeInformation
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAnonymizedNodeIdentifier()
Generates an identifier for this cluster node that is sufficiently anonymoised, i.e.
|
String |
getDescription()
Deprecated.
|
com.atlassian.fugue.Maybe<String> |
getHumanReadableNodeName()
Returns the optionally-defined, human-readable name of this cluster node.
|
int |
getId()
Deprecated.
|
InetSocketAddress |
getLocalSocketAddress() |
int |
hashCode() |
String |
toString() |
@Deprecated public int getId()
getId in interface ClusterNodeInformation@Deprecated public String getDescription()
getDescription in interface ClusterNodeInformationpublic InetSocketAddress getLocalSocketAddress()
getLocalSocketAddress in interface ClusterNodeInformationpublic String getAnonymizedNodeIdentifier()
ClusterNodeInformationIdeally, this information will persist across restarts, i.e. the same node will generate the same identifier.
There is no requirement for process to be bidirectional.
getAnonymizedNodeIdentifier in interface ClusterNodeInformation@Nonnull public com.atlassian.fugue.Maybe<String> getHumanReadableNodeName()
ClusterNodeInformationClusterNodeInformation.getAnonymizedNodeIdentifier() for that.getHumanReadableNodeName in interface ClusterNodeInformationCopyright © 2003–2019 Atlassian. All rights reserved.