Package com.mendix.metrics
Interface Gauge
- All Superinterfaces:
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 TypeMethodDescriptionvoidrecordDelta(double delta) Records a change in the value of the gauge.voidrecordValue(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
-