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() |
com.codahale.metrics.Timer |
getDropwizardMeter() |
double |
totalTime(java.util.concurrent.TimeUnit unit) |
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, mean, measurepublic com.codahale.metrics.Timer getDropwizardMeter()
public double count()
count in interface FunctionTimerpublic double totalTime(java.util.concurrent.TimeUnit unit)
totalTime in interface FunctionTimerunit - The base unit of time to scale the total to.public java.util.concurrent.TimeUnit baseTimeUnit()
baseTimeUnit in interface FunctionTimer