PrepZone Logo
PrepZone
Back to Java

Java · Hard

What is ThreadPoolExecutor? Explain its parameters.

JavaConcurrency

Answer preview

corePoolSize — The number of threads kept alive in the pool even when idle. These threads are not terminated even if they have no tasks.…