Why does ScheduledThreadPoolExecutor only accept a fixed number of threads?

Viewed 9534

I may imagine some tasks scheduled to take a very long time and ScheduledThreadPoolExecutor would create additional threads for the other tasks that need to be run, until a maximum number of threads is reached.

But seems that I can only specify a fixed number of threads for the pool, why is that so ?

3 Answers
Related