Calculates increment of the value on interval. More...
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... | |
Calculates increment of the value on interval.
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: