Package org.apache.storm.localizer
Class TimePortAndAssignment
java.lang.Object
org.apache.storm.metric.timed.Timed<PortAndAssignment>
org.apache.storm.localizer.TimePortAndAssignment
- All Implemented Interfaces:
AutoCloseable,PortAndAssignment,TimerDecorated
-
Constructor Summary
ConstructorsConstructorDescriptionTimePortAndAssignment(PortAndAssignment measured, com.codahale.metrics.Timer timer) -
Method Summary
Methods inherited from class org.apache.storm.metric.timed.Timed
getMeasured, stopTimingMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.storm.localizer.PortAndAssignment
isEquivalentToMethods inherited from interface org.apache.storm.metric.timed.TimerDecorated
close, stopTiming
-
Constructor Details
-
TimePortAndAssignment
-
-
Method Details
-
getToplogyId
- Specified by:
getToplogyIdin interfacePortAndAssignment
-
getOwner
- Specified by:
getOwnerin interfacePortAndAssignment
-
getPort
public int getPort()- Specified by:
getPortin interfacePortAndAssignment
-
getAssignment
- Specified by:
getAssignmentin interfacePortAndAssignment
-
complete
public void complete()- Specified by:
completein interfacePortAndAssignment
-
toString
-
hashCode
public int hashCode()All implementations of PortAndAssignment should implement the same hashCode() method. -
equals
All implementations of PortAndAssignment should implement the same equals() method.
-