org.apache.s4.comm.topology
Class ClusterNode
java.lang.Object
org.apache.s4.comm.topology.ClusterNode
public class ClusterNode
- extends java.lang.Object
Represents an node.
Constructor Summary |
ClusterNode(int partition,
int port,
java.lang.String machineName,
java.lang.String taskId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClusterNode
public ClusterNode(int partition,
int port,
java.lang.String machineName,
java.lang.String taskId)
getPartition
public int getPartition()
getPort
public int getPort()
getMachineName
public java.lang.String getMachineName()
getTaskId
public java.lang.String getTaskId()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object