摘要: 注:ThreadPoolExecutor 核心线程池创建器,Executors中的四种预定义线程池创建方式均是基于该创建器实现 我们以最后一个构造方法(参数最多的那个),对其参数进行解释: 首先来看它的构造方法 public ThreadPoolExecutor(int corePoolSize, 阅读全文
posted @ 2020-04-27 10:46 GodTelMe 阅读(378) 评论(0) 推荐(0) 编辑