Code example for ExecutorService

Methods: executeisShutdownisTerminatedshutdown