- commonPool
Returns the common pool instance.
- <init>
- submit
Submits a ForkJoinTask for execution.
- execute
Arranges for (asynchronous) execution of the given task.
- shutdown
Initiates an orderly shutdown in which previously submitted tasks are executed,
but no new tasks wil
- invoke
Performs the given task, returning its result upon completion. If the
computation encounters an unch
- managedBlock
Blocks in accord with the given blocker. If the current thread is a
ForkJoinWorkerThread, this metho
- getParallelism
Returns the targeted parallelism level of this pool.
- getCommonPoolParallelism
Returns the targeted parallelism level of the common pool.
- awaitTermination
Blocks until all tasks have completed execution after a shutdown request, or the
timeout occurs, or
- shutdownNow
Attempts to cancel and/or stop all tasks, and reject all subsequently submitted
tasks. Tasks that ar
- getPoolSize
Returns the number of worker threads that have started but not yet terminated.
The result returned b