Interface ParallelFlow.Builder.WithStep
- Enclosing class:
- ParallelFlow.Builder
public static interface ParallelFlow.Builder.WithStep
-
Method Summary
Modifier and TypeMethodDescriptionwith(ExecutorService executorService) AParallelFlowrequires anExecutorServiceto execute work units in parallel using multiple threads.
-
Method Details
-
with
AParallelFlowrequires anExecutorServiceto execute work units in parallel using multiple threads. It is the responsibility of the caller to manage the lifecycle of the executor service.- Parameters:
executorService- to use to execute work units in parallel- Returns:
- the builder instance
-