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 
    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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    float[]
     
    void
    record(double value)
     
     
    double
    value(double quantile)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • record

      public void record(double value)
    • value

      public double value(double quantile)
    • counts

      public float[] counts()
    • clear

      public void clear()
    • toString

      public String toString()
      Overrides:
      toString in class Object