Interface Gauge

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void constructValueMap​(java.util.Map<java.lang.String,​java.lang.Object> result)  
      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
    • Method Detail

      • set

        void set​(long value)
        Set value
      • value

        long value()
        Get value stored in gauge
      • incr

        void incr​(long value)
        Increase the value stored in gauge
      • decr

        void decr​(long value)
        Decrease the value stored in gauge
      • constructValueMap

        default void constructValueMap​(java.util.Map<java.lang.String,​java.lang.Object> result)
        Specified by:
        constructValueMap in interface IMetric