Class DoNothingGauge

    • Constructor Summary

      Constructors 
      Constructor Description
      DoNothingGauge()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decr​(long value)
      Decrease the value stored in gauge
      void incr​(long value)
      Increase the value stored in gauge
      void set​(long value)
      Set value
      long value()
      Get value stored in gauge
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DoNothingGauge

        public DoNothingGauge()
    • Method Detail

      • value

        public long value()
        Description copied from interface: Gauge
        Get value stored in gauge
        Specified by:
        value in interface Gauge
      • incr

        public void incr​(long value)
        Description copied from interface: Gauge
        Increase the value stored in gauge
        Specified by:
        incr in interface Gauge
      • decr

        public void decr​(long value)
        Description copied from interface: Gauge
        Decrease the value stored in gauge
        Specified by:
        decr in interface Gauge
      • set

        public void set​(long value)
        Description copied from interface: Gauge
        Set value
        Specified by:
        set in interface Gauge