public void reset() {
            this.type = null;
            this.committedIndex = 0;
            this.term = 0;
            this.status = null;
            this.leaderChangeCtx = null;
            this.done = null;
            this.shutdownLatch = null;
        }
Apply task for disruptor.

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

2018-Apr-03 11:12:35 AM
jraft-core/src/main/java/com/alipay/sofa/jraft/core/FSMCallerImpl.java