corePoolSize

Set the core number of threads. Effectively that maximum number of threads as long as the queue is not full.

Core threads can grow and shrink if allowCoreThreadTimeOut is enabled.

Return

a new builder instance

Parameters

corePoolSize

the core pool size to set