Interface ParallelFlow.Builder.WithStep
-
- Enclosing class:
- ParallelFlow.Builder
public static interface ParallelFlow.Builder.WithStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParallelFlow.Builder.BuildStepwith(ExecutorService executorService)AParallelFlowrequires anExecutorServiceto execute work units in parallel using multiple threads.
-
-
-
Method Detail
-
with
ParallelFlow.Builder.BuildStep with(ExecutorService executorService)
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
-
-