code: protected void publish(DataBuffer buf) {
          ts = System.currentTimeMillis();
          numValues = buf.getNumValues();
          mean = buf.getMean();
          variance = buf.getVariance();
          stddev = buf.getStdDev();
          min = buf.getMinimum();
          max = buf.getMaximum();
          interval = buf.getSampleIntervalMillis();
          size = buf.getSampleSize();
          buf.getPercentiles(percents, percentiles);
      }
docs: {@inheritDoc}