com.tcclient.cluster
Interface DsoNode


public interface DsoNode

Describes a node in the Terracotta DSO cluster.

Since:
3.0.0

Method Summary
 java.lang.String getHostname()
          Returns the host name of the node.
 java.lang.String getId()
          Returns the unique string identifier that corresponds to the node.
 java.lang.String getIp()
          Returns the IP address of the node.
 

Method Detail

getId

java.lang.String getId()
Returns the unique string identifier that corresponds to the node.

This identifier is unique for the life-time of the cluster. However, if the cluster is completely shut down and brought back up again, these identifiers might be recycled.

Returns:
string identifier for the node

getIp

java.lang.String getIp()
Returns the IP address of the node.

This operation talks back to the server array the first time it's called. The result is cached for further use.

Returns:
the IP address of the node

getHostname

java.lang.String getHostname()
Returns the host name of the node.

This operation talks back to the server array the first time it's called. The result is cached for further use.

Returns:
the host name of the node


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.