Class DropwizardFunctionCounter<T>
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.dropwizard.DropwizardFunctionCounter<T>
- All Implemented Interfaces:
FunctionCounter
,Meter
public class DropwizardFunctionCounter<T> extends AbstractMeter 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
-
Method Summary
Modifier and Type Method Description double
count()
com.codahale.metrics.Meter
getDropwizardMeter()
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
-
Method Details
-
getDropwizardMeter
public com.codahale.metrics.Meter getDropwizardMeter() -
count
public double count()- Specified by:
count
in interfaceFunctionCounter
- Returns:
- The cumulative count since this counter was created.
-