docs: public void record(double amount) {
      if (amount >= 0.0) {
        add(totalAmount, amount);
        add(totalOfSquares, amount * amount);
        max(max, amount);
        count.incrementAndGet();
        lastUpdateTime.set(clock.wallTime());
      }
    }