java.lang.Object
org.evrete.util.ForkJoinExecutor
The
ForkJoinExecutor class is a simple wrapper for the ForkJoinPool-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(CountedCompleter<Void> task) Performs the given task, waiting for its completion.voidshutdown()<T> ForkJoinTask<T>
-
Constructor Details
-
ForkJoinExecutor
public ForkJoinExecutor(int parallelism)
-
-
Method Details
-
shutdown
public void shutdown() -
invoke
Performs the given task, waiting for its completion.- Parameters:
task- the task
-
submit
-