Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
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 (set in the framework configuration)
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 Aggregators implementations and examples

Definition at line 43 of file MetricAggregator.java.


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