@Override
    public void run() {
        this.hasRun.set(true);
        super.run();
    }
A customized FutureTask which can record whether the run method has been called.
@author tsui
@version $Id: RunStateRecordedFutureTask.java, v 0.1 2017-07-31 16:28 tsui Exp $
src/main/java/com/alipay/remoting/util/RunStateRecordedFutureTask.java