摘要: 当我们需要实现并发、异步等操作时,通常都会使用到ThreadPoolTaskExecutor,现对其使用稍作总结。 springboot 配置: 提交任务 无返回值的任务使用execute(Runnable) 有返回值的任务使用submit(Runnable) 处理流程 当一个任务被提交到线程池时, 阅读全文
posted @ 2019-03-07 10:14 纯洁的赤子之心 阅读(12233) 评论(0) 推荐(0)