2019年10月20日

线程池第二篇:线程池相关类

摘要: 一、线程池类ThreadPoolExecutor ThreadPoolExecutor实现了ExecutorService接口,是线程池的代表类。 构造器最多有7个参数,各参数意思如下: 二、ForkJoinPool ForkJoinPool也实现了ExecutorService接口,参考https 阅读全文

posted @ 2019-10-20 01:43 koushr 阅读(170) 评论(0) 推荐(0) 编辑

导航