Uses of Class
java.util.concurrent.ForkJoinPool
| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
-
Uses of ForkJoinPool in java.util.concurrent
Methods in java.util.concurrent that return ForkJoinPool Modifier and Type Method Description static ForkJoinPoolForkJoinPool. commonPool()Returns the common pool instance.static ForkJoinPoolForkJoinTask. getPool()Returns the pool hosting the current thread, ornullif the current thread is executing outside of any ForkJoinPool.ForkJoinPoolForkJoinWorkerThread. getPool()Returns the pool hosting this thread.Methods in java.util.concurrent with parameters of type ForkJoinPool Modifier and Type Method Description ForkJoinWorkerThreadForkJoinPool.ForkJoinWorkerThreadFactory. newThread(ForkJoinPool pool)Returns a new worker thread operating in the given pool.Constructors in java.util.concurrent with parameters of type ForkJoinPool Constructor Description ForkJoinWorkerThread(ForkJoinPool pool)Creates a ForkJoinWorkerThread operating in the given pool.Constructor parameters in java.util.concurrent with type arguments of type ForkJoinPool Constructor Description 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 aForkJoinPoolwith the given parameters.