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 interfaceHistogram.BinSchemeAn algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin.static classHistogram.ConstantBinSchemeA 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 classHistogram.LinearBinSchemeA 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 voidclear()float[]counts()voidrecord(double value)StringtoString()doublevalue(double quantile)
-
-
-
Constructor Detail
-
Histogram
public Histogram(Histogram.BinScheme binScheme)
-
-