摘要: 注:本文基于 jdk1.8 1. 异步不需要返回值; CompletableFuture.runAsync() 示例代码如下: public JsonResult test() { JsonResult result = new JsonResult(); CompletableFuture.run 阅读全文
posted @ 2020-01-19 14:55 章鱼樟 阅读(809) 评论(0) 推荐(0) 编辑