跳到主要内容

注解

@Async

@Async 的作用就是把方法调用变成异步执行. 方法的返回通常值是 void,Future,CompletableFuture