Package ch.ivyteam.ivy.request.async
Interface IvyAsyncExecutor.ExecutorOptions.Builder
- Enclosing interface:
IvyAsyncExecutor.ExecutorOptions
public static interface IvyAsyncExecutor.ExecutorOptions.Builder
Builder for
IvyAsyncExecutor.ExecutorOptions.- Since:
- 13.2
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theIvyAsyncExecutor.ExecutorOptions.shutdownAutomatically(boolean shutdownAutomatically) Sets whether the provided executor service should beExecutorService.shutdown()automatically once the request that created the executor is finished.
-
Method Details
-
shutdownAutomatically
Sets whether the provided executor service should beExecutorService.shutdown()automatically once the request that created the executor is finished.- Parameters:
shutdownAutomatically- true if the executor service should be shutdown automatically, false otherwise- Returns:
- This
IvyAsyncExecutor.ExecutorOptions.Builder - API:
- This public API is available in Java.
-
build
IvyAsyncExecutor.ExecutorOptions build()Builds theIvyAsyncExecutor.ExecutorOptions.- Returns:
- The built
IvyAsyncExecutor.ExecutorOptions - API:
- This public API is available in Java.
-