Class MicrometerCounter

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

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

      Constructors 
      Constructor Description
      MicrometerCounter​(io.micrometer.core.instrument.Counter counter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long count()  
      void inc()  
      void inc​(long n)  
      • 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.Counter

        constructValueMap
    • Constructor Detail

      • MicrometerCounter

        public MicrometerCounter​(io.micrometer.core.instrument.Counter counter)
    • Method Detail

      • inc

        public void inc()
        Specified by:
        inc in interface org.apache.iotdb.metrics.type.Counter
      • inc

        public void inc​(long n)
        Specified by:
        inc in interface org.apache.iotdb.metrics.type.Counter
      • count

        public long count()
        Specified by:
        count in interface org.apache.iotdb.metrics.type.Counter