Package net.sf.ehcache.cluster
Interface ClusterNode
-
- All Known Implementing Classes:
DisconnectedClusterNode
public interface ClusterNodeProvides information about a node in a cache cluster.- Since:
- 2.0
- Author:
- Geert Bevin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHostname()Get the host name of the nodejava.lang.StringgetId()Get a unique (per cluster) identifier for this node.java.lang.StringgetIp()Get the IP address of the node
-
-
-
Method Detail
-
getId
java.lang.String getId()
Get a unique (per cluster) identifier for this node.- Returns:
- Unique per cluster identifier
-
getHostname
java.lang.String getHostname()
Get the host name of the node- Returns:
- Host name of node
-
getIp
java.lang.String getIp()
Get the IP address of the node- Returns:
- IP address of node
-
-