public class DropwizardFunctionTimer<T> extends AbstractMeter implements FunctionTimer
FunctionTimer for Dropwizard Metrics.FunctionTimer.Builder<T>Meter.Id, Meter.Type| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
baseTimeUnit() |
double |
count() |
Timer |
getDropwizardMeter() |
double |
totalTime(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 Timer getDropwizardMeter()
public double count()
count in interface FunctionTimerpublic double totalTime(TimeUnit unit)
FunctionTimertotalTime in interface FunctionTimerunit - The base unit of time to scale the total to.public TimeUnit baseTimeUnit()
baseTimeUnit in interface FunctionTimerCopyright © 2020 LeanCloud. All rights reserved.