newFixedThreadPool() vs newCachedThreadPool() [duplicate]
问题 This question already has answers here : Executors.newCachedThreadPool() versus Executors.newFixedThreadPool() (8 answers) Closed 4 years ago . In case newCachedThreadPool() as per creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available whereas in case of newFixedThreadPool(int size) specify size to create the thread pool with size specified. Why isn't newFixedThreadPool(int size) implemented in newCachedThreadPool()