21 package com.griddynamics.jagger.engine.e1.collector;
32 return new AvgMetricAggregator();
35 private static class AvgMetricAggregator
implements MetricAggregator<Number> {
41 public void append(Number calculated) {
45 sum += calculated.doubleValue();
50 public Number getAggregated() {
58 double result = sum / count;
60 return Double.valueOf(result);
70 public String getName() {
75 public String toString() {
76 return "AvgMetricAggregator{" +