@Override
    public void run(final Status status) {
        if (!STATE_UPDATER.compareAndSet(this, PENDING, RESPOND)) {
            LOG.warn("A response: {} with status: {} sent repeatedly!", this.response, status);
            return;
        }
        this.rpcCtx.sendResponse(this.response);
    }
Run the closure and send response.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/RequestProcessClosure.java