首页 > Spring ThreadPoolTaskExecutor 如何配置等待?

Spring ThreadPoolTaskExecutor 如何配置等待?

使用ThreadPoolTaskExecutor 在主线程中启动另一个线程,如何使这个线程执行完再继续主线程?


使用join或者countdownlatch

【热门文章】
【热门文章】