public class HistogramImpl extends AbstractMeter implements Histogram
| Modifier and Type | Class and Description |
|---|---|
static class |
HistogramImpl.Builder
Histogram builder
|
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.skywalking.apm.toolkit.meter.impl.HistogramImpl.Bucket[] |
buckets |
protected List<Double> |
steps |
meterId| Modifier | Constructor and Description |
|---|---|
protected |
HistogramImpl(MeterId meterId,
List<Double> steps) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double value)
Add value into the histogram, automatic analyze what bucket count need to be increment
[step1, step2)
|
static HistogramImpl.Builder |
create(String name) |
org.apache.skywalking.apm.toolkit.meter.impl.HistogramImpl.Bucket[] |
getBuckets()
Getting all buckets
|
equals, getMeterId, getName, getTag, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMeterId, getName, getTagprotected final org.apache.skywalking.apm.toolkit.meter.impl.HistogramImpl.Bucket[] buckets
public static HistogramImpl.Builder create(String name)
public void addValue(double value)
public org.apache.skywalking.apm.toolkit.meter.impl.HistogramImpl.Bucket[] getBuckets()
getBuckets in interface HistogramCopyright © 2020 The Apache Software Foundation. All rights reserved.