use of org.apache.hadoop.metrics2.lib.MutableHistogram in project hbase by apache.
the class MetricsThriftServerSourceImpl method incMethodTime.
@Override
public void incMethodTime(String name, long time) {
MutableHistogram s = getMetricsRegistry().getHistogram(name);
s.add(time);
}
use of org.apache.hadoop.metrics2.lib.MutableHistogram in project hbase by apache.
the class BaseSourceImpl method updateHistogram.
@Override
public void updateHistogram(String name, long value) {
MutableHistogram histo = metricsRegistry.getHistogram(name);
histo.add(value);
}
Aggregations