code: public void accumulate(List<? extends StandardMetricResult> metricValues) {
          if (metricValues == null || metricValues.isEmpty()) return;
          for (StandardMetricResult v : metricValues) {
              if (lastOffset < v.offset) values.put(v.value.intValue());
          }
          lastOffset = ListUtils.last(metricValues).offset;
      }
docs: Adds a metric value to the metric value queue.
  
  @param metricValues
  bunch of values