Class Source

java.lang.Object
org.rrd4j.data.Source
Direct Known Subclasses:
CDef, Def, PDef, VDef

abstract class Source extends Object
  • Field Details

    • values

      protected double[] values
    • timestamps

      protected long[] timestamps
  • Constructor Details

  • Method Details

    • getName

      String getName()
    • setValues

      void setValues(double[] values)
    • setTimestamps

      void setTimestamps(long[] timestamps)
    • getValues

      double[] getValues()
    • getTimestamps

      long[] getTimestamps()
    • getAggregates

      @Deprecated Aggregates getAggregates(long tStart, long tEnd)
      Deprecated.
      This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
      Parameters:
      tStart -
      tEnd -
      Returns:
    • getPercentile

      @Deprecated double getPercentile(long tStart, long tEnd, double percentile)
      Deprecated.
      This method is deprecated. Uses instance of Variable.PERCENTILE, used with DataProcessor.addDatasource(String, String, Variable)
      Parameters:
      tStart -
      tEnd -
      percentile -
      Returns: