Class CKMSQuantiles.Sample

java.lang.Object
io.prometheus.client.CKMSQuantiles.Sample
Enclosing class:
CKMSQuantiles

static class CKMSQuantiles.Sample extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
    Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
    (package private) int
    Difference between the lowest possible rank of this sample and its predecessor.
    (package private) final double
    Observed value.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sample(double value, int delta)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

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

    • value

      final double value
      Observed value.
    • g

      int g
      Difference between the lowest possible rank of this sample and its predecessor. This always starts with 1, but will be updated when compress() merges Samples.
    • delta

      final int delta
      Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
  • Constructor Details

    • Sample

      Sample(double value, int delta)
  • Method Details