Class DataSource


  • public class DataSource
    extends Object
    Instances of this class model a data source in an RRD file.
    Version:
    $Revision: 1.1 $
    Author:
    Ciaran Treanor
    • Method Detail

      • getPDPStatusBlock

        public PDPStatusBlock getPDPStatusBlock()
        Returns the primary data point status block for this data source.
        Returns:
        the primary data point status block for this data source.
      • getMinimumHeartbeat

        public int getMinimumHeartbeat()
        Returns the minimum required heartbeat for this data source.
        Returns:
        the minimum required heartbeat for this data source.
      • getMinimum

        public double getMinimum()
        Returns the minimum value input to this data source can have.
        Returns:
        the minimum value input to this data source can have.
      • getType

        public DataSourceType getType()
        Returns the type this data source is.
        Returns:
        the type this data source is.
        See Also:
        DataSourceType
      • getMaximum

        public double getMaximum()
        Returns the maximum value input to this data source can have.
        Returns:
        the maximum value input to this data source can have.
      • getName

        public String getName()
        Returns the name of this data source.
        Returns:
        the name of this data source.
      • toString

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