Package org.apache.flink.metrics
Interface Histogram
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longgetCount()Get the count of seen elements.default MetricTypegetMetricType()HistogramStatisticsgetStatistics()Create statistics for the currently recorded elements.voidupdate(long value)Update the histogram with the given value.
-
-
-
Method Detail
-
update
void update(long value)
Update the histogram with the given value.- Parameters:
value- Value to update the histogram with
-
getCount
long getCount()
Get the count of seen elements.- Returns:
- Count of seen elements
-
getStatistics
HistogramStatistics getStatistics()
Create statistics for the currently recorded elements.- Returns:
- Statistics about the currently recorded elements
-
getMetricType
default MetricType getMetricType()
- Specified by:
getMetricTypein interfaceMetric
-
-