public interface Histogram extends Metric
The histogram allows to record values, get the current count of recorded values and create histogram statistics for the currently seen elements.
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.
|
void update(long value)
value
- Value to update the histogram withlong getCount()
HistogramStatistics getStatistics()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.