Class Header

  • All Implemented Interfaces:
    Constants

    public class Header
    extends Object
    implements Constants
    Instances of this class model the header section of an RRD file.
    Version:
    $Revision$
    Author:
    Ciaran Treanor
    • Field Detail

      • size

        long size
      • intVersion

        int intVersion
      • dsCount

        int dsCount
      • rraCount

        int rraCount
      • pdpStep

        int pdpStep
    • Method Detail

      • getVersion

        public String getVersion()
        Returns the version of the database.
        Returns:
        the version of the database.
      • getIntVersion

        public int getIntVersion()
      • getDSCount

        public int getDSCount()
        Returns the number of DataSources in the database.
        Returns:
        the number of DataSources in the database.
      • getRRACount

        public int getRRACount()
        Returns the number of Archives in the database.
        Returns:
        the number of Archives in the database.
      • getPDPStep

        public int getPDPStep()
        Returns the primary data point interval in seconds.
        Returns:
        the primary data point interval in seconds.
      • toString

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