public class DropwizardTimer extends AbstractTimer
Timer.Builder, Timer.SampleMeter.Id, Meter.Typeclock, histogram| Modifier and Type | Method and Description |
|---|---|
long |
count() |
double |
max(java.util.concurrent.TimeUnit unit) |
protected void |
recordNonNegative(long amount,
java.util.concurrent.TimeUnit unit) |
double |
totalTime(java.util.concurrent.TimeUnit unit) |
baseTimeUnit, close, 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()
public double totalTime(java.util.concurrent.TimeUnit unit)
unit - The base unit of time to scale the total to.public double max(java.util.concurrent.TimeUnit unit)
unit - The base unit of time to scale the max to.