2021年12月22日
摘要: 异步任务处理注解方法@Async实现异步多线程 1.定义配置类,设置参数2.定义任务执行类3.执行Spring 中的ThreadPoolExecutor是借助JDK并发包中的java.util.concurrent.ThreadPoolExecutor来实现的。其中一些值的含义如下:int core 阅读全文
posted @ 2021-12-22 20:19 oktokeep 阅读(342) 评论(4) 推荐(0)