java.lang.Object
io.helidon.faulttolerance.Async.Builder
- All Implemented Interfaces:
Builder<Async.Builder,
,Async> Supplier<Async>
- Enclosing interface:
- Async
Fluent API Builder for
Async
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.executor
(ExecutorService executor) Configure executor service to use for executing tasks asynchronously.executor
(Supplier<? extends ExecutorService> executor) Configure executor service to use for executing tasks asynchronously.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<Async.Builder,
Async> - Returns:
- instance of the built type
-
executor
Configure executor service to use for executing tasks asynchronously.- Parameters:
executor
- executor service supplier- Returns:
- updated builder instance
-
executor
Configure executor service to use for executing tasks asynchronously.- Parameters:
executor
- executor service- Returns:
- updated builder instance
-