- <init>
- finishShutdown
Finishes the shutdown of the worker pool. This will ensure all finishing workers
are killed.
- getCurrentPoolSize
Check for the current quantity of threads running in this pool (either active or
idle).
- getMaxPoolSize
Getter for the currently set max worker pool size.
- isShutdownStarted
Checks if the shutdown has started by an invocation of #startShutdown().
- prestartAllThreads
Ensures all threads have been started. This will make new idle workers to accept
tasks.
- setPoolSize
Change the set core pool size. If the value is less than the current max pool
size, the max pool siz
- start
Starts the pool, constructing the first thread to start consuming tasks (and
starting other threads
- startShutdown
Will start the shutdown of the worker pool.
- workerIdle
Invoked when a worker becomes idle. This will provide another task for that
worker, or block until a
- addPoolStateChangeTask
When ever pool state is changed that is not checked in the pollTask loop (ie
shutdown state, pool si
- addWorkerToIdleChain
Adds a worker to the head of the idle worker chain.