摘要: 通过ThreadPoolExecutor的方式创建线程池 ThreadPoolExecutor 构造方法: 参数的意义: 1.corePoolSize 指定了线程池里的线程数量,核心线程池大小2.maximumPoolSize 指定了线程池里的最大线程数量3.keepAliveTime 当线程池线程 阅读全文
posted @ 2019-08-06 08:47 问北 阅读(1123) 评论(0) 推荐(1) 编辑