Top Description Fields Constructors Methods
net.sf.ehcache.terracotta

public Class DisconnectedClusterNode

extends Object
implements ClusterNode
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.cluster.ClusterNode
Imports
net.sf.ehcache.cluster.ClusterNode, java.net.InetAddress, .UnknownHostException

ClusterNode which copies a disconnected ClusterNode without keeping any reference to the original one.
Author
Ludovic Orban

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
DisconnectedClusterNode(final ClusterNode
the node to copy
node
)

Constructor accepting the disconnected node

Method Summary

Modifier and TypeMethod and Description
public String
getHostname()

Implements net.sf.ehcache.cluster.ClusterNode.getHostname.

Get the host name of the node
public String
getId()

Implements net.sf.ehcache.cluster.ClusterNode.getId.

Get a unique (per cluster) identifier for this node.
public String
getIp()

Implements net.sf.ehcache.cluster.ClusterNode.getIp.

Get the IP address of the node
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

idback to summary
private final String id

Constructor Detail

DisconnectedClusterNodeback to summary
public DisconnectedClusterNode(final ClusterNode node)

Constructor accepting the disconnected node

Parameters
node:ClusterNode

the node to copy

Method Detail

getHostnameback to summary
public String getHostname()

Implements net.sf.ehcache.cluster.ClusterNode.getHostname.

Doc from net.sf.ehcache.cluster.ClusterNode.getHostname.

Get the host name of the node

Returns:String

Host name of node

getIdback to summary
public String getId()

Implements net.sf.ehcache.cluster.ClusterNode.getId.

Doc from net.sf.ehcache.cluster.ClusterNode.getId.

Get a unique (per cluster) identifier for this node.

Returns:String

Unique per cluster identifier

getIpback to summary
public String getIp()

Implements net.sf.ehcache.cluster.ClusterNode.getIp.

Doc from net.sf.ehcache.cluster.ClusterNode.getIp.

Get the IP address of the node

Returns:String

IP address of node