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.
|
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, mean, measurepublic com.codahale.metrics.Timer getDropwizardMeter()
public double count()
FunctionTimercount in interface FunctionTimerpublic double totalTime(java.util.concurrent.TimeUnit unit)
FunctionTimertotalTime in interface FunctionTimerpublic java.util.concurrent.TimeUnit baseTimeUnit()
baseTimeUnit in interface FunctionTimer