public interface ClusterNodeInformation extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getAnonymizedNodeIdentifier()
Generates an identifier for this cluster node that is sufficiently anonymoised, i.e.
|
String |
getDescription()
Deprecated.
since 5.6 Use
getAnonymizedNodeIdentifier() |
com.atlassian.fugue.Maybe<String> |
getHumanReadableNodeName()
Returns the optionally-defined, human-readable name of this cluster node.
|
int |
getId()
Deprecated.
since 5.6 Use
getAnonymizedNodeIdentifier() |
InetSocketAddress |
getLocalSocketAddress() |
@Deprecated int getId()
getAnonymizedNodeIdentifier()
@Deprecated String getDescription()
getAnonymizedNodeIdentifier()
InetSocketAddress getLocalSocketAddress()
@Nonnull String getAnonymizedNodeIdentifier()
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.
@Nonnull com.atlassian.fugue.Maybe<String> getHumanReadableNodeName()
getAnonymizedNodeIdentifier()
for that.Copyright © 2003–2017 Atlassian. All rights reserved.