Code example for ThreadPoolExecutor

Methods: setCorePoolSizesetMaximumPoolSize