@Override
    public void run(Status status) {
        if (this.done != null) {
            done.run(status);
        }
    }
Leader closure to apply task.
@author boyan (boyan@alibaba-inc.com)

2018-Apr-25 1:35:11 PM
jraft-test/src/main/java/com/alipay/sofa/jraft/test/atomic/server/LeaderTaskClosure.java