java.lang.Object
org.rrd4j.graph.Source
org.rrd4j.graph.PDef
Represents a plottable data definition (PDEF) in RRD graphs. A PDEF defines a data source using a plottable object that can generate values programmatically.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IPlottableThe object whose rendering is exposed as a graph source.Constructor Summary
ConstructorsConstructorDescriptionPDef(String name, IPlottable plottable) Creates a plottable data definition under the given data source name.Method Summary
All MethodsModifier and TypeMethodDescription(package private) voidrequestData(DataProcessor dproc) Data processor to register the datasource with.
Field Details
plottable
The object whose rendering is exposed as a graph source.
Constructor Details
PDef
PDef(String name, IPlottable plottable) Creates a plottable data definition under the given data source name.- Parameters:
name- the data source name this definition is registered asplottable- the plottable that generates the data source values
Method Details
requestData
Data processor to register the datasource with.- Specified by:
requestDatain classSource- Parameters:
dproc- data processor to register the datasource with