public class DropwizardFunctionTimer<T> extends AbstractMeter implements FunctionTimer
FunctionTimer.Builder<T>
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.TimeUnit |
baseTimeUnit() |
double |
count()
The total number of occurrences of the timed event.
|
com.codahale.metrics.Timer |
getDropwizardMeter() |
double |
totalTime(java.util.concurrent.TimeUnit unit)
The total time of all occurrences of the timed event.
|
getId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, mean, measure
public com.codahale.metrics.Timer getDropwizardMeter()
public double count()
FunctionTimer
count
in interface FunctionTimer
public double totalTime(java.util.concurrent.TimeUnit unit)
FunctionTimer
totalTime
in interface FunctionTimer
public java.util.concurrent.TimeUnit baseTimeUnit()
baseTimeUnit
in interface FunctionTimer