- <init>
Creates a new ThreadPoolExecutor with the given initial parameters.
- execute
Executes the given task sometime in the future. The task may execute in a new
thread or in an existi
- shutdown
Initiates an orderly shutdown in which previously submitted tasks are executed,
but no new tasks wil
- getQueue
Returns the task queue used by this executor. Access to the task queue is
intended primarily for deb
- submit
- shutdownNow
Attempts to stop all actively executing tasks, halts the processing of waiting
tasks, and returns a
- getActiveCount
- awaitTermination
- allowCoreThreadTimeOut
Sets the policy governing whether core threads may time out and terminate if no
tasks arrive within
- isShutdown
- getMaximumPoolSize
Returns the maximum allowed number of threads.
- getPoolSize
Returns the current number of threads in the pool.