private void reset() {
            for (final LogEntryAndClosure task : this.tasks) {
                task.reset();
            }
            this.tasks.clear();
        }
Event handler.

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

2018-Apr-03 4:30:07 PM
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java