jdk8
文章平均质量分 77
你好,小牛马
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The bean ‘dataTokenMapper‘ could not be injected because it is a JDK dynamic
The bean 'dataTokenMapper' could not be injected because it is a JDK dynamic proxy原创 2022-07-29 11:56:52 · 2669 阅读 · 0 评论 -
CompletableFuture中的thenRun和thenRunAsync方法
需求:我需要在做完第一件事情后返回结果A,再做第二件事情,第二件事情依赖结果A。代码编程: @Resource(name = "globalThreadPool") private ThreadPoolExecutor threadPoolExecutor; CompletableFuture.supplyAsync(() -> { 做第一件事情; return A; },threadPoolExecutor).thenRun(()->{ 做第二件原创 2021-04-14 13:50:46 · 10597 阅读 · 9 评论
分享