public class DropwizardTimer extends AbstractTimer
Timer.BuilderMeter.Id, Meter.Typeclock, histogram| Modifier and Type | Method and Description |
|---|---|
long |
count()
The number of times that record has been called on this timer.
|
double |
max(java.util.concurrent.TimeUnit unit)
The maximum time of a single event.
|
protected void |
recordNonNegative(long amount,
java.util.concurrent.TimeUnit unit) |
double |
totalTime(java.util.concurrent.TimeUnit unit)
The total time of recorded events.
|
baseTimeUnit, equals, hashCode, histogramCountAtValue, percentile, record, record, record, recordCallable, statsConfig, takeSnapshotgetIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprotected void recordNonNegative(long amount,
java.util.concurrent.TimeUnit unit)
recordNonNegative in class AbstractTimerpublic long count()
Timerpublic double totalTime(java.util.concurrent.TimeUnit unit)
Timerpublic double max(java.util.concurrent.TimeUnit unit)
Timer