public void setPeerId(final PeerId peerId) {
        if (peerId != null) {
            this.peerId = peerId.copy();
        } else {
            this.peerId = null;
        }
    }
Replicator options.

@author boyan (boyan@alibaba-inc.com)

2018-Apr-04 2:59:24 PM
jraft-core/src/main/java/com/alipay/sofa/jraft/option/ReplicatorOptions.java