会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
魔杰Lee
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
spring系列
spring,springMVC,spring boot,spring cloud
@schedule
摘要:1-加@Async,配置多线程后,同一个 @Scheduled(cron = "0/5 * * * * ?")@Async(value = "asyncPoolTaskExecutor")public void doSendTest(){}方法中,不会等到方法执行完后再执行下次任务,而是异步按时间规
阅读全文
posted @
2020-12-10 11:03
魔杰Lee
阅读(403)
评论(0)
推荐(0)
公告