Class TimerImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.impl.TimerImpl
Custom implementation of
Timer.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TimeUnitprivate final HistogramImplprivate final DropwizardMeter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMeter()voidUpdate 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, waitMethods 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:TimerUpdate the timer with the given duration in given time unit. -
getHistogram
- Specified by:
getHistogramin interfaceTimer
-
getMeter
-