Package fj.impl.executor
Class ExecutorServiceBuilder
java.lang.Object
fj.impl.executor.ExecutorServiceBuilder
- Author:
- Dennis Cosgrove
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
<R> R
forkJoinGet
(TaskSupplier<R> supplier) void
forkJoinRun
(TaskRunnable runnable) isCachedThreadPoolDesired
(boolean isCachedThreadPoolDesired) isWorkStealingThreadPoolDesired
(boolean isWorkStealingThreadPoolDesired) numWorkerThreads
(int numWorkerThreads)
-
Constructor Details
-
ExecutorServiceBuilder
public ExecutorServiceBuilder()
-
-
Method Details
-
isCachedThreadPoolDesired
-
isWorkStealingThreadPoolDesired
public ExecutorServiceBuilder isWorkStealingThreadPoolDesired(boolean isWorkStealingThreadPoolDesired) -
numWorkerThreads
-
build
-
forkJoinRun
-
forkJoinGet
-