Class CumulativeCounter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.cumulative.CumulativeCounter
public class CumulativeCounter extends AbstractMeter 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 CumulativeCounter(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
-
CumulativeCounter
-
-
Method Details
-
increment
public void increment(double amount)Description copied from interface:Counter
Update the counter byamount
. -
count
public double count()
-