spring笔记

 

Async 

First, let’s go over the rules. @Async has two limitations:

  • It must be applied to public methods only.
  • Self-invocation — calling the async method from within the same class — won’t work.

https://www.baeldung.com/spring-async

posted on 2023-11-23 10:00  heysong  阅读(4)  评论(0编辑  收藏  举报

导航