摘要: 线程池的拒绝策略 四种策略 默认是AbortPolicy threadPoolExecutor.setRejectedExecuti... 阅读全文
posted @ 2020-10-31 21:56 IT夏天 阅读(143) 评论(0) 推荐(0)
摘要: 1. 概述 常用队列 LinkedBlockingQueue:无界队列 如果不设置大小会导致maximumPoolSize失效 ... 阅读全文
posted @ 2020-10-31 21:50 IT夏天 阅读(616) 评论(0) 推荐(0)
摘要: 定时任务ScheduledThreadPoolExecutor: 介绍: 之前我们讲的ThreadPoolExecutor是jav... 阅读全文
posted @ 2020-10-31 14:58 IT夏天 阅读(166) 评论(0) 推荐(0)