![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jdk8
文章平均质量分 77
YY大师
这个作者很懒,什么都没留下…
展开
-
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 · 2486 阅读 · 0 评论 -
CompletableFuture中的thenRun和thenRunAsync方法
需求:我需要在做完第一件事情后返回结果A,再做第二件事情,第二件事情依赖结果A。代码编程: @Resource(name = "globalThreadPool") private ThreadPoolExecutor threadPoolExecutor; CompletableFuture.supplyAsync(() -> { 做第一件事情; return A; },threadPoolExecutor).thenRun(()->{ 做第二件原创 2021-04-14 13:50:46 · 8700 阅读 · 9 评论