private static void notifyReplicatorStatusListener(final Replicator replicator, final ReplicatorEvent event) {
        notifyReplicatorStatusListener(replicator, event, null);
    }
Notify replicator event(such as created, error, destroyed) to replicatorStateListener which is implemented by users for none status.

@param replicator replicator object
@param event      replicator's state listener event type
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java