com.liferay.portal.kernel.cluster
Class ClusterNode
java.lang.Object
com.liferay.portal.kernel.cluster.ClusterNode
- All Implemented Interfaces:
- Serializable, Comparable<ClusterNode>
public class ClusterNode
- extends Object
- implements Comparable<ClusterNode>, Serializable
- See Also:
- Serialized Form
ClusterNode
public ClusterNode(String clusterNodeId,
InetAddress inetAddress)
compareTo
public int compareTo(ClusterNode clusterNode)
- Specified by:
compareTo
in interface Comparable<ClusterNode>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getClusterNodeId
public String getClusterNodeId()
getInetAddress
public InetAddress getInetAddress()
getPort
public int getPort()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setPort
public void setPort(int port)
toString
public String toString()
- Overrides:
toString
in class Object