Class StepCounter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.step.StepCounter
Counter that reports a rate per step interval to a monitoring system. Note that
count()
will report the number of events in the last complete interval rather
than the total for the life of the process.-
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.MeterProvider<T extends Meter>, Meter.Type
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micrometer.core.instrument.AbstractMeter
equals, getId, hashCode
-
Constructor Details
-
StepCounter
-
-
Method Details
-
increment
public void increment(double amount) Description copied from interface:Counter
Update the counter byamount
. -
count
public double count() -
_closingRollover
public void _closingRollover()
-