Class Histogram
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.Histogram
-
public class Histogram extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Histogram.BinScheme
An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin.static class
Histogram.ConstantBinScheme
A scheme for calculating the bins where the width of each bin is a constant determined by the range of values and the number of bins.static class
Histogram.LinearBinScheme
A scheme for calculating the bins where the width of each bin is one more than the previous bin, and therefore the bin widths are increasing at a linear rate.
-
Constructor Summary
Constructors Constructor Description Histogram(Histogram.BinScheme binScheme)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
float[]
counts()
void
record(double value)
String
toString()
double
value(double quantile)
-
-
-
Constructor Detail
-
Histogram
public Histogram(Histogram.BinScheme binScheme)
-
-