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

public static final class Variable.Valueextends Object
This class store both the value and the time stamp It will be used by graph rendering legend
  • Field Details

    • value

      public final double value
      value.
    • timestamp

      public final long timestamp
      timestamp.
  • Constructor Details

    • Value

      Value(long timestamp, double value)
      Pairs a computed value with the timestamp of the point it came from.
      Parameters:
      timestamp - seconds since epoch, or 0 to mark the value as not time stamped
      value - computed value, NaN when nothing could be computed
  • Method Details