Class MicrometerAutoGauge<T>

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

    public class MicrometerAutoGauge<T>
    extends java.lang.Object
    implements org.apache.iotdb.metrics.type.AutoGauge
    • Constructor Summary

      Constructors 
      Constructor Description
      MicrometerAutoGauge​(io.micrometer.core.instrument.MeterRegistry meterRegistry, java.lang.String metricName, T object, java.util.function.ToLongFunction<T> mapper, java.lang.String... tags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long value()  
      • 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.AutoGauge

        constructValueMap
    • Constructor Detail

      • MicrometerAutoGauge

        public MicrometerAutoGauge​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                   java.lang.String metricName,
                                   T object,
                                   java.util.function.ToLongFunction<T> mapper,
                                   java.lang.String... tags)
    • Method Detail

      • value

        public long value()
        Specified by:
        value in interface org.apache.iotdb.metrics.type.AutoGauge