Package org.apache.storm.metric.timed
Interface TimerDecorated
- All Superinterfaces:
- AutoCloseable
- All Known Implementing Classes:
- Timed,- TimedResource,- TimedWritableByteChannel,- TimePortAndAssignment,- TimerDecoratedAssignment
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidclose()longdefault longstopTiming(com.codahale.metrics.Timer.Context timing) Stop the timer for measured object.
- 
Method Details- 
stopTiminglong stopTiming()
- 
stopTimingdefault long stopTiming(com.codahale.metrics.Timer.Context timing) Stop the timer for measured object. Call to this method will not reset the start time. Multiple calls result in multiple updates.- Returns:
- Time a object is in use, or under measurement, in nanoseconds.
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Throws:
- Exception
 
 
-