摘要: POM 添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId 阅读全文
posted @ 2021-08-13 10:38 肚兜缺糖 阅读(372) 评论(0) 推荐(0)
摘要: ThreadPoolExecutor,而用的是Spring Boot项目,可以用Spring提供的对 ThreadPoolExecutor封装的线程池 ThreadPoolTaskExecutor,直接使用注解启用 使用步骤 先创建一个线程池的配置,让Spring Boot加载,用来定义如何创建一个 阅读全文
posted @ 2021-08-13 10:30 肚兜缺糖 阅读(3447) 评论(0) 推荐(0)