摘要: Java线程池ThreadPoolExecutor面试总结思维导图速记,优点降低资源消耗,通过重复利用已创建的线程降低线程创建和销毁造成的消耗。提高响应速度,当任务到达时,可以不需要等待线程创建就能立即执行。提高线程的可管理性类关系接 Executor 一个无返回值的execute方法接 ExecutorService 返回值为Future类型的submit方法类 AbstractExecutorService类 ThreadPoolExecutor 阅读全文
posted @ 2020-07-27 23:52 NeverTh 阅读(718) 评论(0) 推荐(4) 编辑