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 ClusterNodeInformation
public InetSocketAddress getLocalSocketAddress()
getLocalSocketAddress
in interface ClusterNodeInformation
public String getAnonymizedNodeIdentifier()
ClusterNodeInformation
Ideally, 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()
ClusterNodeInformation
ClusterNodeInformation.getAnonymizedNodeIdentifier()
for that.getHumanReadableNodeName
in interface ClusterNodeInformation
Copyright © 2003–2017 Atlassian. All rights reserved.