Class DropwizardTimer

  • All Implemented Interfaces:
    org.apache.iotdb.metrics.type.IMetric, org.apache.iotdb.metrics.type.Timer

    public class DropwizardTimer
    extends java.lang.Object
    implements org.apache.iotdb.metrics.type.Timer
    • Constructor Summary

      Constructors 
      Constructor Description
      DropwizardTimer​(com.codahale.metrics.Timer timer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.iotdb.metrics.type.Rate getImmutableRate()  
      org.apache.iotdb.metrics.type.HistogramSnapshot takeSnapshot()  
      void update​(long duration, java.util.concurrent.TimeUnit unit)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.metrics.type.IMetric

        toString
      • Methods inherited from interface org.apache.iotdb.metrics.type.Timer

        updateMicros, updateMillis, updateNanos
    • Constructor Detail

      • DropwizardTimer

        public DropwizardTimer​(com.codahale.metrics.Timer timer)
    • Method Detail

      • update

        public void update​(long duration,
                           java.util.concurrent.TimeUnit unit)
        Specified by:
        update in interface org.apache.iotdb.metrics.type.Timer
      • takeSnapshot

        public org.apache.iotdb.metrics.type.HistogramSnapshot takeSnapshot()
        Specified by:
        takeSnapshot in interface org.apache.iotdb.metrics.type.Timer
      • getImmutableRate

        public org.apache.iotdb.metrics.type.Rate getImmutableRate()
        Specified by:
        getImmutableRate in interface org.apache.iotdb.metrics.type.Timer