Class NoopMeter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.noop.NoopMeter
- All Implemented Interfaces:
Meter
- Direct Known Subclasses:
NoopCounter
,NoopDistributionSummary
,NoopFunctionCounter
,NoopFunctionTimer
,NoopGauge
,NoopLongTaskTimer
,NoopTimeGauge
,NoopTimer
public class NoopMeter extends AbstractMeter
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.util.List<Measurement>
measure()
Get a set of measurements.Methods inherited from class io.micrometer.core.instrument.AbstractMeter
getId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NoopMeter
-
-
Method Details
-
measure
Description copied from interface:Meter
Get a set of measurements. Should always return the same number of measurements and in the same order, regardless of the level of activity or the lack thereof.- Returns:
- The set of measurements that represents the instantaneous value of this meter.
-