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: 1.1 $
    Author:
    Ciaran Treanor
    • Field Detail

      • version

        final String version
      • dsCount

        final int dsCount
        Number of data sources
      • rraCount

        final int rraCount
        Number of archives within file
      • pdpStep

        final int pdpStep
    • Method Detail

      • getVersion

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

        public int getVersionAsInt()
        Returns the version of the database as an integer.
        Returns:
        the version of the database.
      • 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.