Package | Description |
---|---|
java9.util.concurrent |
The Java 7 and Java 8 utility classes commonly used in concurrent programming.
|
Modifier and Type | Field and Description |
---|---|
static ForkJoinPool.ForkJoinWorkerThreadFactory |
ForkJoinPool.defaultForkJoinWorkerThreadFactory
Creates a new ForkJoinWorkerThread.
|
Modifier and Type | Method and Description |
---|---|
ForkJoinPool.ForkJoinWorkerThreadFactory |
ForkJoinPool.getFactory()
Returns the factory used for constructing new workers.
|
Constructor and Description |
---|
ForkJoinPool(int parallelism,
ForkJoinPool.ForkJoinWorkerThreadFactory factory,
Thread.UncaughtExceptionHandler handler,
boolean asyncMode)
Creates a
ForkJoinPool with the given parameters (using
defaults for others -- see ForkJoinPool.ForkJoinPool(int,
ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean,
int, int, int, Predicate, long, TimeUnit) ). |
ForkJoinPool(int parallelism,
ForkJoinPool.ForkJoinWorkerThreadFactory factory,
Thread.UncaughtExceptionHandler handler,
boolean asyncMode,
int corePoolSize,
int maximumPoolSize,
int minimumRunnable,
Predicate<? super ForkJoinPool> saturate,
long keepAliveTime,
TimeUnit unit)
Creates a
ForkJoinPool with the given parameters. |
Copyright © 2021. All rights reserved.