摘要: ScheduledThreadPoolExecutor是一个定时任务线程池,相比于ThreadPoolExecutor最大的不同在于其阻塞队列的实现 首先看一下其构造方法: 1 public ScheduledThreadPoolExecutor(int corePoolSize, 2 Thread 阅读全文
posted @ 2020-01-07 16:18 松饼人 阅读(601) 评论(0) 推荐(1) 编辑