Class DefaultGauge<T>
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.internal.DefaultGauge<T>
- Type Parameters:
T
- reference type
Default implementation for
Gauge
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Gauge
Gauge.Builder<T>
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.MeterProvider<T extends Meter>, Meter.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
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 io.micrometer.core.instrument.AbstractMeter
equals, getId, hashCode
-
Constructor Details
-
DefaultGauge
-
-
Method Details