Class DynamicallySizedThreadPoolExecutor

All Implemented Interfaces:
Executor, ExecutorService

public class DynamicallySizedThreadPoolExecutor extends ThreadPoolExecutor
This is an instance of ThreadPoolExecutor which behaves how one would expect it to, even when faced with an unlimited queue. Unlike the default ThreadPoolExecutor, it will add new Threads up to maximumPoolSize when there is lots of pending work, rather than only when the queue is full (which it often never will be, especially for unlimited queues)
Author:
Nick Burch