Class MicrometerHistogramSnapshot

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

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

      Constructors 
      Constructor Description
      MicrometerHistogramSnapshot​(io.micrometer.core.instrument.distribution.HistogramSnapshot histogramSnapshot)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getMax()  
      double getMean()  
      double getMedian()  
      long getMin()  
      double getValue​(double quantile)  
      long[] getValues()  
      int size()  
      • 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.HistogramSnapshot

        constructValueMap
    • Constructor Detail

      • MicrometerHistogramSnapshot

        public MicrometerHistogramSnapshot​(io.micrometer.core.instrument.distribution.HistogramSnapshot histogramSnapshot)
    • Method Detail

      • getValue

        public double getValue​(double quantile)
        Specified by:
        getValue in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • getValues

        public long[] getValues()
        Specified by:
        getValues in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • size

        public int size()
        Specified by:
        size in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • getMedian

        public double getMedian()
        Specified by:
        getMedian in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • getMax

        public long getMax()
        Specified by:
        getMax in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • getMean

        public double getMean()
        Specified by:
        getMean in interface org.apache.iotdb.metrics.type.HistogramSnapshot
      • getMin

        public long getMin()
        Specified by:
        getMin in interface org.apache.iotdb.metrics.type.HistogramSnapshot