public class DisconnectedClusterNode extends java.lang.Object implements ClusterNode
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id |
Constructor and Description |
---|
DisconnectedClusterNode(ClusterNode node)
Constructor accepting the disconnected node
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostname()
Get the host name of the node
|
java.lang.String |
getId()
Get a unique (per cluster) identifier for this node.
|
java.lang.String |
getIp()
Get the IP address of the node
|
public DisconnectedClusterNode(ClusterNode node)
node
- the node to copypublic java.lang.String getId()
getId
in interface ClusterNode
public java.lang.String getHostname()
getHostname
in interface ClusterNode
public java.lang.String getIp()
getIp
in interface ClusterNode