@Test public void testHelloWorld() { asyncService.async1(); }
@Async("customFixedThreadPool") public void async1() { log.info("hi,springboot async," +Thread.currentThread().getName()); }
AsyncService { @Async("customFixedThreadPool") public void async1() { log.info("hi,springboot async," +Thread.currentThread().getName()); } }
AsyncService { @Async("customFixedThreadPool") public void async1() { log.info("hi,springboot async," +Thread.currentThread().getName()); }  }
AsyncService { @Async("customFixedThreadPool") public void async1() { log.info("hi,springboot async," +Thread.currentThread().getName()); }  @Async void asyncHello(); @Async("customFixedThreadPool") void async1(); @Async("customFixedThreadPool") Future<String> asyncWithResult(); }
AsyncService { @Async("customFixedThreadPool") public void async1() { log.info("hi,springboot async," +Thread.currentThread().getName()); }  @Async void asyncHello(); @Async("customFixedThreadPool") void async1(); @Async("customFixedThreadPool") Future<String> asyncWithResult();  }