maxWorkers property

int maxWorkers
final

Maximum number of workers in the pool. If this is set to 0, the number of workers is unbounded (as a result, any task posted to the pool will be assigned a worker asap).

Implementation

final int maxWorkers;