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.
First, let’s go over the rules. @Async has two limitations: