public class DescriptiveStatisticsHistogram extends Object implements Histogram, Serializable
DescriptiveStatisticsHistogram
use a DescriptiveStatistics DescriptiveStatistics
as a Flink Histogram
.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, wait
getMetricType
public DescriptiveStatisticsHistogram(int windowSize)
public void update(long value)
Histogram
public long getCount()
Histogram
public HistogramStatistics getStatistics()
Histogram
getStatistics
in interface Histogram
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.