Class TaskQueue<R extends Runnable>

All Implemented Interfaces:
Serializable, Iterable<Runnable>, Collection<Runnable>, BlockingQueue<Runnable>, Queue<Runnable>

public class TaskQueue<R extends Runnable> extends LinkedBlockingQueue<Runnable>
TaskQueue in the EagerThreadPoolExecutor It offer a task if the executor's submittedTaskCount less than currentPoolThreadSize or the currentPoolThreadSize more than executor's maximumPoolSize. That can make the executor create new worker when the task num is bigger than corePoolSize but less than maximumPoolSize.
See Also: