Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | List of all members
com.griddynamics.jagger.engine.e1.collector.MetricAggregator< C extends Number > Interface Reference

Aggregates raw data, available after test, to final value that will be saved to database. More...

Public Member Functions

void append (C calculated)
 Method is executed for every value in raw data. More...
 
getAggregated ()
 Method is executed to get final result for some time interval. More...
 
String getName ()
 Get display name of aggregator. More...
 
void reset ()
 Method is called to reset aggregator, before going to next time interval. More...
 

Detailed Description

Aggregates raw data, available after test, to final value that will be saved to database.

Author
Nikolay Musienko
Details:

Simpliest example - averaging of results
Aggregation is provided on some time interval. How this time interval is selected you can read here: Aggregation interval
Aggregation sequence looks as follows:

loop time intervals {
loop points of raw data in this interval {
Aggregator.append(raw data point);
}
result for this interval = Aggregator.getAggregated();
Aggregator.reset();
}


To view aggregators implementations click here Implementations of aggregators


The documentation for this interface was generated from the following file: