Interface Gauge

All Superinterfaces:
Metric

public interface Gauge extends Metric
Gauges record a value that may go up or down.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.mendix.metrics.Metric

    Metric.Builder<M extends Metric>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    recordDelta(double delta)
    Records a change in the value of the gauge.
    void
    recordValue(double value)
    Records the latest fixed value for the gauge.
  • Method Details

    • recordValue

      void recordValue(double value)
      Records the latest fixed value for the gauge.
      Parameters:
      value - new reading of the gauge
    • recordDelta

      void recordDelta(double delta)
      Records a change in the value of the gauge.
      Parameters:
      delta - change in the value of the gauge