Class NoopFunctionCounter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.noop.NoopMeter
io.micrometer.core.instrument.noop.NoopFunctionCounter
- All Implemented Interfaces:
FunctionCounter
,Meter
public class NoopFunctionCounter extends NoopMeter implements FunctionCounter
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.FunctionCounter
FunctionCounter.Builder<T>
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type
-
Constructor Summary
Constructors Constructor Description NoopFunctionCounter(Meter.Id id)
-
Method Summary
Modifier and Type Method Description double
count()
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
Methods inherited from interface io.micrometer.core.instrument.FunctionCounter
measure
-
Constructor Details
-
NoopFunctionCounter
-
-
Method Details
-
count
public double count()- Specified by:
count
in interfaceFunctionCounter
- Returns:
- The cumulative count since this counter was created.
-