Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.cluster
Class ClusterNode

java.lang.Object
  extended by 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

Constructor Summary
ClusterNode(String clusterNodeId, InetAddress inetAddress)
           
 
Method Summary
 int compareTo(ClusterNode clusterNode)
           
 boolean equals(Object obj)
           
 String getClusterNodeId()
           
 InetAddress getInetAddress()
           
 int getPort()
           
 int hashCode()
           
 void setPort(int port)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterNode

public ClusterNode(String clusterNodeId,
                   InetAddress inetAddress)
Method Detail

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

Liferay 6.1.2-ce-ga3