com.atlassian.confluence.cluster
Interface ClusterNodeInformation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
HazelcastClusterNodeInformation

public interface ClusterNodeInformation
extends java.io.Serializable


Method Summary
 java.lang.String getAnonymizedNodeIdentifier()
          Generates an identifier for the cluster node that is sufficiently anonymoised, i.e.
 java.lang.String getDescription()
          Deprecated. since 5.6 Use getAnonymizedNodeIdentifier()
 int getId()
          Deprecated. since 5.6 Use getAnonymizedNodeIdentifier()
 java.net.InetSocketAddress getLocalSocketAddress()
           
 

Method Detail

getId

@Deprecated
int getId()
Deprecated. since 5.6 Use getAnonymizedNodeIdentifier()

Returns:
the id of this node within the cluster.

getDescription

@Deprecated
java.lang.String getDescription()
Deprecated. since 5.6 Use getAnonymizedNodeIdentifier()


getLocalSocketAddress

java.net.InetSocketAddress getLocalSocketAddress()

getAnonymizedNodeIdentifier

@Nonnull
java.lang.String getAnonymizedNodeIdentifier()
Generates an identifier for the cluster node that is sufficiently anonymoised, i.e. doesn't give away any information about the internals of the node. This information is intended to be displayed safely to the end user, as a diagnostic aid to determine which node they're in communication with. 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.

Since:
5.6


Copyright © 2003-2014 Atlassian. All Rights Reserved.