public interface ClusterNodeInformation extends Serializable
Modifier and Type | Method and Description |
---|---|
@NonNull 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()
Deprecated.
since 7.0.1. Use
humanReadableNodeName() |
int |
getId()
Deprecated.
since 5.6 Use
getAnonymizedNodeIdentifier() |
InetSocketAddress |
getLocalSocketAddress() |
default @NonNull Optional<String> |
humanReadableNodeName()
Returns the optionally-defined, human-readable name of this cluster node.
|
@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.
@Deprecated com.atlassian.fugue.Maybe<String> getHumanReadableNodeName()
humanReadableNodeName()
getAnonymizedNodeIdentifier()
for that.default @NonNull Optional<String> humanReadableNodeName()
getAnonymizedNodeIdentifier()
for that.Copyright © 2003–2021 Atlassian. All rights reserved.