@InterfaceAudience.Private public class HistogramImpl extends Object implements org.apache.hadoop.hbase.metrics.Histogram
| Modifier and Type | Field and Description |
|---|---|
protected FastLongHistogram |
histogram |
| Modifier | Constructor and Description |
|---|---|
|
HistogramImpl() |
protected |
HistogramImpl(CounterImpl counter,
FastLongHistogram histogram) |
|
HistogramImpl(int numBins,
long min,
long maxExpected) |
|
HistogramImpl(long maxExpected) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
long |
getMax() |
org.apache.hadoop.hbase.metrics.Snapshot |
snapshot() |
void |
update(int value) |
void |
update(long value) |
protected final FastLongHistogram histogram
public HistogramImpl()
public HistogramImpl(long maxExpected)
public HistogramImpl(int numBins,
long min,
long maxExpected)
protected HistogramImpl(CounterImpl counter, FastLongHistogram histogram)
public void update(int value)
update in interface org.apache.hadoop.hbase.metrics.Histogrampublic void update(long value)
update in interface org.apache.hadoop.hbase.metrics.Histogrampublic long getCount()
getCount in interface org.apache.hadoop.hbase.metrics.Histogrampublic long getMax()
public org.apache.hadoop.hbase.metrics.Snapshot snapshot()
snapshot in interface org.apache.hadoop.hbase.metrics.HistogramCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.