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

public class TimedResource<T extends AutoCloseable> extends Timed<T>
  • Constructor Details

    • TimedResource

      public TimedResource(T measured, com.codahale.metrics.Timer timer)
  • Method Details