Class TimerImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.impl.TimerImpl
Custom implementation of
Timer
.-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TimeUnit
private final HistogramImpl
private final DropwizardMeter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMeter()
void
Update the timer with the given duration in given time unit.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.metrics.Timer
updateMicros, updateMillis, updateNanos
-
Field Details
-
histogram
-
meter
-
DEFAULT_UNIT
-
-
Constructor Details
-
TimerImpl
public TimerImpl()
-
-
Method Details
-
update
Description copied from interface:Timer
Update the timer with the given duration in given time unit. -
getHistogram
- Specified by:
getHistogram
in interfaceTimer
-
getMeter
-