- java.lang.Object
-
- io.helidon.faulttolerance.Async.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Asyncbuild()Build the instance from this builder.Async.Builderexecutor(ExecutorService executor)Configure executor service to use for executing tasks asynchronously.Async.Builderexecutor(Supplier<? extends ExecutorService> executor)Configure executor service to use for executing tasks asynchronously.
-
-
-
Method Detail
-
build
public Async build()
Description copied from interface:BuilderBuild the instance from this builder.
-
executor
public Async.Builder executor(Supplier<? extends ExecutorService> executor)
Configure executor service to use for executing tasks asynchronously.- Parameters:
executor- executor service supplier- Returns:
- updated builder instance
-
executor
public Async.Builder executor(ExecutorService executor)
Configure executor service to use for executing tasks asynchronously.- Parameters:
executor- executor service- Returns:
- updated builder instance
-
-