Package org.incendo.cloud.services
Class ServicePipelineBuilder
java.lang.Object
org.incendo.cloud.services.ServicePipelineBuilder
Builder for
ServicePipeline-
Method Summary
Modifier and TypeMethodDescriptionbuild()Construct a newServicePipelineusing the options specified in the builderwithExecutor(@NonNull Executor executor) Set the executor that will be used by the pipeline when evaluating results asynchronously.
-
Method Details
-
build
Construct a newServicePipelineusing the options specified in the builder- Returns:
- New service pipeline
-
withExecutor
Set the executor that will be used by the pipeline when evaluating results asynchronously. Unless specified, the pipeline will use a single threaded executor.- Parameters:
executor- New executor- Returns:
- Builder instance
-