Package io.smallrye.faulttolerance
Interface AsyncExecutorProvider
-
- All Known Implementing Classes:
DefaultAsyncExecutorProvider
public interface AsyncExecutorProviderIntegrators should provide a CDI bean which implementsAsyncExecutorProvider. The bean should be@Singleton, must be marked as alternative and selected globally for the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutorServiceget()Provides the thread pool for executing@Asynchronousmethods and other asynchronous tasks.
-
-
-
Method Detail
-
get
ExecutorService get()
Provides the thread pool for executing@Asynchronousmethods and other asynchronous tasks. Integrator is responsible for the thread pool's lifecycle.
-
-