public class DropwizardTimer extends AbstractTimer
Timer.Builder, Timer.Sample
Meter.Id, Meter.Type
clock, 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, takeSnapshot
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder, builder, histogramCountAtValue, mean, measure, percentile, record, start, start, start, wrap, wrap
takeSnapshot
protected void recordNonNegative(long amount, java.util.concurrent.TimeUnit unit)
recordNonNegative
in class AbstractTimer
public 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.