public class ClusterNodeImpl extends Object implements ClusterNode
org.jboss.ha.framework.server.ClusterPartitionMBean,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ClusterNode o) |
boolean |
equals(Object obj) |
InetAddress |
getIpAddress()
Gets the
InetAddress at which the node is receiving intra-cluster communications. |
String |
getName()
Gets a String identifier for this node.
|
int |
getPort()
Gets the port at which the node is receiving intra-cluster communications.
|
int |
hashCode() |
String |
toString() |
public String getName()
ClusterNodegetName in interface ClusterNodepublic InetAddress getIpAddress()
ClusterNodeInetAddress at which the node is receiving intra-cluster communications.getIpAddress in interface ClusterNodepublic int getPort()
ClusterNodegetPort in interface ClusterNodepublic int compareTo(ClusterNode o)
compareTo in interface Comparable<ClusterNode>Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.