Package org.apache.storm.metric.timed
Class TimedResource<T extends AutoCloseable>
java.lang.Object
org.apache.storm.metric.timed.Timed<T>
org.apache.storm.metric.timed.TimedResource<T>
- All Implemented Interfaces:
AutoCloseable
,TimerDecorated
- Direct Known Subclasses:
TimedWritableByteChannel
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.storm.metric.timed.Timed
getMeasured, stopTiming
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.storm.metric.timed.TimerDecorated
stopTiming
-
Constructor Details
-
TimedResource
-
-
Method Details
-
close
- Throws:
Exception
-