public class DropwizardFunctionTimer<T> extends AbstractMeter implements FunctionTimer
FunctionTimer.Builder<T>
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
TimeUnit |
baseTimeUnit() |
double |
count() |
com.codahale.metrics.Timer |
getDropwizardMeter() |
double |
totalTime(TimeUnit unit) |
getId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, mean, measure
public com.codahale.metrics.Timer getDropwizardMeter()
public double count()
count
in interface FunctionTimer
public double totalTime(TimeUnit unit)
totalTime
in interface FunctionTimer
unit
- The base unit of time to scale the total to.public TimeUnit baseTimeUnit()
baseTimeUnit
in interface FunctionTimer
Copyright © 2018. All rights reserved.