The correct way: Use Thread.sleep(10000); in the asynchronous annotation @Async method to pause, and then observe the effect.