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, record, record, record, recordCallable, takeSnapshotgetIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, histogramCountAtValue, mean, measure, percentile, record, start, start, wrap, wraptakeSnapshotprotected 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.