@Public public interface Histogram extends Metric
Modifier and Type | Method and 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.
|
void update(long value)
value
- Value to update the histogram withlong getCount()
HistogramStatistics getStatistics()
default MetricType getMetricType()
getMetricType
in interface Metric
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.