摘要: 在开发spring boot应用服务的时候,难免会使用到异步任务及线程池。spring boot的线程池是可以自定义的,所以我们经常会在项目里面看到类似于下面这样的代码 @Bean public Executor taskExecutor() { ThreadPoolTaskExecutor exe 阅读全文
posted @ 2022-08-08 12:43 字母哥博客 阅读(843) 评论(0) 推荐(0) 编辑