java.lang.Object
org.rrd4j.data.Variable.PercentElem
Enclosing class:
Variable

static final class Variable.PercentElemextends Object
Store all the informations about a datasource point, for predictive and consistent sorting
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final long
    Timestamp of the data point
    (package private) final double
    Value of the data point
  • Constructor Summary

    Constructors
    Constructor
    Description
    PercentElem(int pos, long timestamp, double value)
    Stores one data point's timestamp and value, to be ranked for percentile calculations.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    boolean
    equals.
    int
    hashCode.
    toString.

    Methods inherited from class Object

    clone, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • timestamp

      final long timestamp
      Timestamp of the data point
    • value

      final double value
      Value of the data point
  • Constructor Details

    • PercentElem

      PercentElem(int pos, long timestamp, double value)
      Stores one data point's timestamp and value, to be ranked for percentile calculations.
      Parameters:
      pos - currently unused, kept for the historical signature; ordering comes from Variable.ComparPercentElemen
      timestamp - seconds since epoch of the sampled point
      value - sampled value; NaN sorts below every finite value
  • Method Details