org.jrobin.data
public class Aggregates extends Object implements ConsolFuns
getAggregates()
method in
FetchData
and
getAggregates DataProcessor} classes.
Method Summary | |
---|---|
String | dump()
Returns String representing all aggregated values. |
double | getAggregate(String consolFun)
Returns single aggregated value for the give consolidation function
|
double | getAverage()
Returns average
|
double | getFirst()
Returns the first falue
|
double | getLast()
Returns the last value
|
double | getMax()
Returns the maximum value
|
double | getMin()
Returns the minimal value
|
double | getTotal()
Returns total value
|
Returns: String containing all aggregated values
Parameters: consolFun Consolidation function: MIN, MAX, FIRST, LAST, AVERAGE, TOTAL. These constants
are conveniently defined in the ConsolFuns
interface.
Returns: Aggregated value
Throws: RrdException Thrown if unsupported consolidation function is supplied
Returns: Average value
Returns: First value
Returns: Last value
Returns: Maximum value
Returns: Minimal value
Returns: Total value