Code example for ThreadPoolExecutor

Methods: getActiveCount, getMaximumPoolSize, getPoolSize, isShutdown, isTerminated, isTerminating