code: @Override
    public void increment(long amount) {
      long now = clock.now() / 1000L;
      if (now != currentSecond.get()) {
        currentCount.set(0);
        currentSecond.set(now);
      }
      long count = currentCount.addAndGet(amount);
      updatePeak(count);
    }
docs: {@inheritDoc}