java.lang.Object
org.rrd4j.graph.Source
org.rrd4j.graph.VDef
Represents a variable definition (VDEF) in RRD graphs. A VDEF defines a data source that computes values using variables like MIN, MAX, AVERAGE, etc.
Field Summary
FieldsConstructor Summary
Method Summary
All MethodsModifier and TypeMethodDescription(package private) voidrequestData(DataProcessor dproc) Asks the processor to evaluate this VDEF for the given data source
Field Details
defName
Name other definitions use to refer to this one.var
The variable holding the defined value.
Constructor Details
VDef
Creates a VDEF data source bound to the given name and computation- Parameters:
name- the name this data source is addressed by in the graphdefName- the VDEF expression name identifying the computation to applyvar- the variable the computation reduces to, such as MIN, MAX or AVERAGE
Method Details
requestData
Asks the processor to evaluate this VDEF for the given data source- Specified by:
requestDatain classSource- Parameters:
dproc- the processor to pass the data source request to