线程池基础
摘要:一、java.util.concurrent包下的线程池相关的类和接口 JUC包下的三个接口:1、Executor:运行新任务的简单接口,将任务提交和任务执行细节解耦2、ExecutorService:具备管理执行器和任务生命周期方法,提交任务机制更完善3、ScheduledExecutorServ
阅读全文
posted @ 2020-06-16 01:59
posted @ 2020-06-16 01:59
posted @ 2020-05-28 01:08
posted @ 2020-05-27 10:13
posted @ 2020-05-27 08:32
posted @ 2020-05-24 04:49