摘要: 一、异步任务 测试如下 1、不是异步方法的时候: 进行等待三秒再进行应答 @Service public class AsynService { public void hello(){ try { Thread.sleep(3000); } catch (InterruptedException 阅读全文
posted @ 2020-04-14 23:47 Arbitrary233 阅读(214) 评论(0) 推荐(0)