maxPoolSize

Set the maximum allowed number of threads. When the queue is full, the pool can expand up to that size to accommodate the load.

If the queue capacity is unbounded, this setting is ignored.

Return

a new builder instance

Parameters

maxPoolSize

the max pool size to set