public Builder withClock(final Clock clock) {
            this.clock = clock;
            return this;
        }
Use the given {@link Clock} instance for the time.

@param clock a {@link Clock} instance
@return {@code this}
jraft-core/src/main/java/com/alipay/sofa/jraft/util/MetricReporter.java