Course contentsShow
Java
Lesson 2718 of 2,87050. Executor FrameworkPro lesson

awaitTermination: Blocking Until Shutdown Completes

How awaitTermination(timeout, unit) blocks the calling thread until all tasks finish or the timeout expires.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.