Class Histogram
java.lang.Object
org.apache.kafka.common.metrics.stats.Histogram
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
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
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
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 -
Method Summary
-
Constructor Details
-
Histogram
-
-
Method Details
-
record
public void record(double value) -
value
public double value(double quantile) -
counts
public float[] counts() -
clear
public void clear() -
toString
-