Package io.smallrye.faulttolerance
Interface AsyncExecutorProvider
-
- All Known Implementing Classes:
DefaultAsyncExecutorProvider
public interface AsyncExecutorProvider
Integrators 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 ExecutorService
get()
Provides the thread pool for executing@Asynchronous
methods and other asynchronous tasks.
-
-
-
Method Detail
-
get
ExecutorService get()
Provides the thread pool for executing@Asynchronous
methods and other asynchronous tasks. Integrator is responsible for the thread pool's lifecycle.
-
-