This method does not wait for previously submitted tasks (but not started executing) to complete execution. shutdown() initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.Difference between shutdown(), shutdownNow() and awaitTermination() APIsīoolean awaitTermination(long timeout, TimeUnit unit) Learn to use these methods under different requirements. ExecutorService interface provides 3 methods shutdown(), shutdownNow() and awaitTermination() for controlling the termination of tasks submitted to executor.