public void runOnceNow() {
        this.lock.lock();
        try {
            if (this.timeout != null && this.timeout.cancel()) {
                this.timeout = null;
                run();
            }
        } finally {
            this.lock.unlock();
        }
    }
Run the timer at once, it will cancel the timer and re-schedule it.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/RepeatedTimer.java