Class Timed<T>

java.lang.Object
org.apache.storm.metric.timed.Timed<T>
All Implemented Interfaces:
AutoCloseable, TimerDecorated
Direct Known Subclasses:
TimedResource, TimePortAndAssignment

public class Timed<T> extends Object implements TimerDecorated
  • Constructor Details

    • Timed

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

    • getMeasured

      public T getMeasured()
    • stopTiming

      public long stopTiming()
      Specified by:
      stopTiming in interface TimerDecorated