Class DropwizardGauge

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

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

      Constructors 
      Constructor Description
      DropwizardGauge()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decr​(long value)  
      com.codahale.metrics.Gauge<java.lang.Long> getDropwizardCachedGauge()  
      void incr​(long value)  
      void set​(long value)  
      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.IMetric

        toString
    • Constructor Detail

      • DropwizardGauge

        public DropwizardGauge()
    • Method Detail

      • value

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

        public void incr​(long value)
        Specified by:
        incr in interface org.apache.iotdb.metrics.type.Gauge
      • decr

        public void decr​(long value)
        Specified by:
        decr in interface org.apache.iotdb.metrics.type.Gauge
      • set

        public void set​(long value)
        Specified by:
        set in interface org.apache.iotdb.metrics.type.Gauge
      • getDropwizardCachedGauge

        public com.codahale.metrics.Gauge<java.lang.Long> getDropwizardCachedGauge()