public DisruptorBuilder<T> setRingBufferSize(final int ringBufferSize) {
        this.ringBufferSize = ringBufferSize;
        return this;
    }
A builder to build a disruptor instance.
@author boyan(boyan@antfin.com)
jraft-core/src/main/java/com/alipay/sofa/jraft/util/DisruptorBuilder.java