Class MicrometerTimer

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

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

      Constructors 
      Constructor Description
      MicrometerTimer​(io.micrometer.core.instrument.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.Timer

        constructValueMap, updateMicros, updateMillis, updateNanos
    • Constructor Detail

      • MicrometerTimer

        public MicrometerTimer​(io.micrometer.core.instrument.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