Class PDPStatusBlock


  • public class PDPStatusBlock
    extends Object
    Instances of this class model the primary data point status from an RRD file.
    Version:
    $Revision: 1.1 $
    Author:
    Ciaran Treanor
    • Field Detail

      • lastReading

        String lastReading
      • unknownSeconds

        int unknownSeconds
      • value

        double value
    • Method Detail

      • getLastReading

        public String getLastReading()
        Returns the last reading from the data source.
        Returns:
        the last reading from the data source.
      • getValue

        public double getValue()
        Returns the current value of the primary data point.
        Returns:
        the current value of the primary data point.
      • getUnknownSeconds

        public int getUnknownSeconds()
        Returns the number of seconds of the current primary data point is unknown data.
        Returns:
        the number of seconds of the current primary data point is unknown data.
      • toString

        public String toString()
        Returns a summary the contents of this PDP status block.
        Overrides:
        toString in class Object
        Returns:
        a summary of the information contained in this PDP status block.