backtype.storm.scheduler
Class WorkerSlot

java.lang.Object
  extended by backtype.storm.scheduler.WorkerSlot

public class WorkerSlot
extends Object


Constructor Summary
WorkerSlot(String nodeId, Number port)
           
 
Method Summary
 boolean equals(Object o)
           
 String getNodeId()
           
 int getPort()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkerSlot

public WorkerSlot(String nodeId,
                  Number port)
Method Detail

getNodeId

public String getNodeId()

getPort

public int getPort()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.