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 SummaryConstructorsConstructorDescriptionTimePortAndAssignment(PortAndAssignment measured, com.codahale.metrics.Timer timer) 
- 
Method SummaryMethods inherited from class org.apache.storm.metric.timed.TimedgetMeasured, stopTimingMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.storm.localizer.PortAndAssignmentisEquivalentToMethods inherited from interface org.apache.storm.metric.timed.TimerDecoratedclose, stopTiming
- 
Constructor Details- 
TimePortAndAssignment
 
- 
- 
Method Details- 
getToplogyId- Specified by:
- getToplogyIdin interface- PortAndAssignment
 
- 
getOwner- Specified by:
- getOwnerin interface- PortAndAssignment
 
- 
getPortpublic int getPort()- Specified by:
- getPortin interface- PortAndAssignment
 
- 
getAssignment- Specified by:
- getAssignmentin interface- PortAndAssignment
 
- 
completepublic void complete()- Specified by:
- completein interface- PortAndAssignment
 
- 
toString
- 
hashCodepublic int hashCode()All implementations of PortAndAssignment should implement the same hashCode() method.
- 
equalsAll implementations of PortAndAssignment should implement the same equals() method.
 
-