Package org.apache.flink.metrics
Interface Histogram
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description long
getCount()
Get the count of seen elements.default MetricType
getMetricType()
HistogramStatistics
getStatistics()
Create statistics for the currently recorded elements.void
update(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:
getMetricType
in interfaceMetric
-
-