ExecutorService executor = Executors. newCachedThreadPool(); When you instantiate your Executor Service, a few parameters are initialized. Depending on how you instantiated your Executor Service, you may manually specify these parameters or they may be provided for you by default.23 Mar 2018