class PDef extends Source implements NonRrdSource
timestamps, values| Constructor and Description |
|---|
PDef(String name,
IPlottable plottable2)Creates a new PDef instance. |
| Modifier and Type | Method and Description |
|---|---|
void | calculate(long tStart,
long tEnd,
DataProcessor dataProcessor)Calculates values for the specified time range. |
getName, getTimestamps, getValues, setTimestamps, setValuesPDef(String name, IPlottable plottable2)
name - the name of the data sourceplottable2 - the plottable object to provide valuespublic void calculate(long tStart,
long tEnd,
DataProcessor dataProcessor)calculate in interface NonRrdSourcetStart - start time for calculationtEnd - end time for calculationdataProcessor - DataProcessor object for accessing other data sources