摘要: 创建线程池时, setWaitForTasksToCompleteOnShutdown setAwaitTerminationSeconds // 将ThreadPoolTaskExecutor实例交给Spring管理 @Bean public ThreadPoolTaskExecutor thre 阅读全文
posted @ 2023-01-17 09:45 蟑螂恶霸的开发笔记 阅读(1200) 评论(0) 推荐(0) 编辑