@Override
    protected void terminated() {
        super.terminated();
        LOG.info("ThreadPool is terminated: {}, {}.", this.name, super.toString());
    }
A {@link java.util.concurrent.ThreadPoolExecutor} that can additionally
schedule commands to run after a given delay with a logger witch can print
error message for failed execution.

@author jiachun.fjc
jraft-core/src/main/java/com/alipay/sofa/jraft/util/LogScheduledThreadPoolExecutor.java