ThreadPoolExecutor parameter configuration
问题 I'm working with a client application which needs to request data from a Rest API. Many of these requests are independent, so they could be called asynchronously. I'm using ThreadPoolExecutor to do so, and I've seen it can be configured with several parameters: corePoolSize maxPoolSize queueCapacity I read this article and I understand the following: corePoolSize is the value below of which executor adds a new thread rather than queuing it maxPoolSize is the value above of which executor