Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Classes | Public Member Functions | List of all members
com.griddynamics.jagger.engine.e1.collector.CumulativeMetricAggregatorProvider Class Reference

Calculates increment of the value on interval. More...

Inheritance diagram for com.griddynamics.jagger.engine.e1.collector.CumulativeMetricAggregatorProvider:
Inheritance graph
[legend]

Public Member Functions

MetricAggregator provide ()
 Method is called to provide instance of private class: CumulativeMetricAggregator that implements MetricAggregator<C extends Number> and calculates increment of cumulative metric on interval. More...
 

Detailed Description

Calculates increment of the value on interval.

Author
amikryukov
Details:

this is special aggregator for cumulative metrics. Cumulative metrics are always increasing values.
F.e. calculating number of events. This aggregator is calculating increment of the value on interval
Example:

----- interval
2
3 aggregated value = 2
4
----- interval
5
6 aggregated value = 1
6
----- interval
6
6 aggregated value = 0
6
----- interval



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