Class NoopGauge

    • Constructor Summary

      Constructors 
      Constructor Description
      NoopGauge​(Meter.Id id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double value()
      The act of observing the value by calling this method triggers sampling of the underlying number or user-defined function that defines the value for the gauge.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micrometer.core.instrument.Gauge

        measure
    • Constructor Detail

      • NoopGauge

        public NoopGauge​(Meter.Id id)
    • Method Detail

      • value

        public double value()
        Description copied from interface: Gauge
        The act of observing the value by calling this method triggers sampling of the underlying number or user-defined function that defines the value for the gauge.
        Specified by:
        value in interface Gauge
        Returns:
        The current value.