public Builder convertDurationsTo(final TimeUnit durationUnit) {
            this.durationUnit = durationUnit;
            return this;
        }
Convert durations to the given time unit.

@param durationUnit a unit of time
@return {@code this}
jraft-core/src/main/java/com/alipay/sofa/jraft/util/MetricReporter.java