Class ExecutorServiceBuilder
java.lang.Object
fj.impl.executor.ExecutorServiceBuilder
- Author:
- Dennis Cosgrove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()<R> RforkJoinGet(TaskSupplier<R> supplier) voidforkJoinRun(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
-