Interface Gauge


  • public interface Gauge
    A Gauge is an application provided object which will be called by the framework in order to sample the value of an integer value.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Number get()
      Returns the current value associated with this gauge.
    • Method Detail

      • get

        java.lang.Number get()
        Returns the current value associated with this gauge. The MetricsProvider will call this callback without taking care of synchronization, it is up to the application to handle thread safety.
        Returns:
        the current value for the gauge