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