Executor:接口,仅execute接口
ExecutorService:接口,添加了结束任务的方法和提交任务
ThreadPoolExecutor:具体实现类,内部有线程池
ScheduledThreadPoolExecuto:具体实现类
Executors:工厂类,生成各种线程池Executor(定时和非定时),返回ExecutorService
Executor:接口,仅execute接口
ExecutorService:接口,添加了结束任务的方法和提交任务
ThreadPoolExecutor:具体实现类,内部有线程池
ScheduledThreadPoolExecuto:具体实现类
Executors:工厂类,生成各种线程池Executor(定时和非定时),返回ExecutorService