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