Class CDPStatusBlock


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

      • offset

        final long offset
        Byte offset within file
      • size

        final long size
        Size of block in bytes
      • unknownDatapoints

        final int unknownDatapoints
      • value

        final double value
      • secondary_value

        final double secondary_value
      • primary_value

        final double primary_value
    • Method Detail

      • getUnknownDatapoints

        public int getUnknownDatapoints()
        Returns the number of unknown primary data points that were integrated.
        Returns:
        the number of unknown primary data points that were integrated.
      • getValue

        public double getValue()
        Returns the value of this consolidated data point.
        Returns:
        the value of this consolidated data point.
      • toString

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