public class DescriptiveStatisticsHistogram extends Object implements Histogram, Serializable
| Constructor and Description |
|---|
DescriptiveStatisticsHistogram(int windowSize) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Get the count of seen elements.
|
HistogramStatistics |
getStatistics()
Create statistics for the currently recorded elements.
|
void |
update(long value)
Update the histogram with the given value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricTypepublic DescriptiveStatisticsHistogram(int windowSize)
public void update(long value)
Histogrampublic long getCount()
Histogrampublic HistogramStatistics getStatistics()
HistogramgetStatistics in interface HistogramCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.