Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
void com.griddynamics.jagger.engine.e1.collector.MetricDescription.setAggregators ( List< MetricAggregatorProvider >  aggregators)

Setter for metric aggregators.

Parameters
aggregators- list of aggregators that will be applied to this metric during result processing.
If list will be empty Jagger will use default aggregator (summary).
You can use Jagger built in aggregators Aggregators implementations and examples or custom aggregators

Definition at line 62 of file MetricDescription.java.

References com.griddynamics.jagger.engine.e1.collector.MetricDescription.aggregatorsWithSettings, and com.griddynamics.jagger.engine.e1.collector.MetricAggregatorSettings.EMPTY_SETTINGS.

62  {
64  for (MetricAggregatorProvider aggregator : aggregators) {
65  aggregatorsWithSettings.put(aggregator, MetricAggregatorSettings.EMPTY_SETTINGS);
66  }
67  }