Package org.rrd4j.data
Class Variable.AVERAGE
java.lang.Object
org.rrd4j.data.Variable
org.rrd4j.data.Variable.AVERAGE
- Enclosing class:
Variable
Calculate the average of the data points.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.rrd4j.data.Variable
Variable.AVERAGE, Variable.ComparPercentElemen, Variable.FIRST, Variable.LAST, Variable.LSLCORREL, Variable.LSLINT, Variable.LSLSLOPE, Variable.MAX, Variable.MIN, Variable.PercentElem, Variable.PERCENTILE, Variable.PERCENTILENAN, Variable.STDDEV, Variable.TOTAL, Variable.Value
-
Field Summary
Fields inherited from class org.rrd4j.data.Variable
INVALIDVALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Variable.Value
fill
(long[] timestamps, double[] values, long start, long end) This method is call with the needed values, extracted from the datasource to do the calculation.
-
Constructor Details
-
AVERAGE
public AVERAGE()
-
-
Method Details
-
fill
Description copied from class:Variable
This method is call with the needed values, extracted from the datasource to do the calculation. Value is to be filled with both the double value and a possible timestamp, when it's used to find a specific point
-