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
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Constructor Detail
-
NoopMeter
public NoopMeter(Meter.Id id)
-
-
Method Detail
-
measure
public java.util.List<Measurement> 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.
-
-