class CDefextends Source
Represents a computed data source (CDEF) in RRD graphs. A CDEF evaluates a Reverse Polish Notation (RPN) expression to compute values from other data sources. Enables mathematical operations and data transformations within the graphing system.
  • Field Details

    • rpnExpression

      private final String rpnExpression
      The RPN expression that computes this source's values.
  • Constructor Details

    • CDef

      CDef(String name, String rpnExpression)
      Create a new CDef.
      Parameters:
      name - the source name
      rpnExpression - the RPN expression
  • Method Details

    • requestData

      void requestData(DataProcessor dproc)
      Description copied from class: Source
      Requests data from this source and provides it to the data processor.
      Specified by:
      requestData in class Source
      Parameters:
      dproc - the data processor to receive the data