摘要: 定时线程池 使用场景: 1. 分布式锁 - redis 2. springCloud - 服务注册与发现中心 ScheduledThreadPoolExecutor 它用来处理延时任务或定时任务。 它接收SchduledFutureTask类型的任务,是线程池调度任务的最小单位,有三种提交任务的方式 阅读全文
posted @ 2022-11-12 05:11 君莫笑我十年游 阅读(161) 评论(0) 推荐(0) 编辑