ExecutorService « java.util.concurrent « Java by API






1.ExecutorService: awaitTermination(long timeout, TimeUnit unit)
2.ExecutorService: execute(Runnable command)
3.ExecutorService: shutdown()
4.ExecutorService: shutdownNow()
5.ExecutorService: submit(Runnable task)