docs: @Override
    public void record(long duration) {
      totalTime.increment(duration);
      min.update(duration);
      max.update(duration);
  
      final long[] buckets = bucketConfig.getBuckets();
      final long bucketDuration = bucketConfig.getTimeUnit().convert(duration, timeUnit);
      for (int i = 0; i < buckets.length; i++) {
        if (bucketDuration <= buckets[i]) {
          bucketCount[i].increment();
          return;
        }
      }
      overflowCount.increment();
    }