Class NoopCounter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.noop.NoopMeter
io.micrometer.core.instrument.noop.NoopCounter
public class NoopCounter extends NoopMeter implements Counter
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Counter
Counter.Builder
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type
-
Constructor Summary
Constructors Constructor Description NoopCounter(Meter.Id id)
-
Method Summary
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
-
NoopCounter
-
-
Method Details
-
increment
public void increment(double amount)Description copied from interface:Counter
Update the counter byamount
. -
count
public double count()
-