摘要: 其中 在java doc中,并不提倡我们直接使用ThreadPoolExecutor,而是使用Executors类中提供的几个静态方法来创建线程池: Executors.newCachedThreadPool(); //创建一个缓冲池,缓冲池容量大小为Integer.MAX_VALUE Execut 阅读全文
posted @ 2018-09-03 14:01 翱翔的小鱼 阅读(4157) 评论(0) 推荐(1) 编辑