@Override
        public void onEvent(final ApplyTask event, final long sequence, final boolean endOfBatch) throws Exception {
            setFsmThread();
            this.maxCommittedIndex = runApplyTask(event, this.maxCommittedIndex, endOfBatch);
        }
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