ThreadPoolExecutor使用和思考-线程池大小设置与BlockingQueue的三种实现区别
查看JDK帮助文档,可以发现该类比较简单,继承自AbstractExecutorService,而AbstractExecutorService实现了ExecutorService接口。ThreadPoolExecutor的完整构造方法的签名是:ThreadPoolExecutor(intcorePoolSize,intmaximumPoolSize,longkeepAliveTime,TimeU