Interface ThreadPool

All Superinterfaces:
Executor
All Known Subinterfaces:
ThreadPool.SizedThreadPool
All Known Implementing Classes:
DelegatingThreadPool, ExecutorThreadPool, MonitoredQueuedThreadPool, QueuedThreadPool

@ManagedObject("Pool of Threads") public interface ThreadPool extends Executor

A pool for threads.

A specialization of Executor interface that provides reporting methods (eg getThreads()) and the option of configuration methods (e.g. @link ThreadPool.SizedThreadPool.setMaxThreads(int)).