| Modifier and Type | Field and Description | 
|---|---|
| private static TimeUnit | DEFAULT_UNIT | 
| private HistogramImpl | histogram | 
| private DropwizardMeter | meter | 
| Constructor and Description | 
|---|
| TimerImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| HistogramImpl | getHistogram() | 
| DropwizardMeter | getMeter() | 
| void | update(long duration,
      TimeUnit unit)Update the timer with the given duration in given time unit. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateMicros, updateMillis, updateNanosprivate final HistogramImpl histogram
private final DropwizardMeter meter
private static final TimeUnit DEFAULT_UNIT
public TimerImpl()
public void update(long duration, TimeUnit unit)
Timerpublic HistogramImpl getHistogram()
getHistogram in interface Timerpublic DropwizardMeter getMeter()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.