public interface AsyncConfigurer
Configuration classes annotated with @EnableAsync that wish to customize the
 Executor instance used when processing async method invocations or the
 AsyncUncaughtExceptionHandler instance used to process exception thrown from
 async method with void return type.
 Consider using AsyncConfigurerSupport providing default implementations for
 both methods if only one element needs to be customized. Furthermore, backward compatibility
 of this interface will be insured in case new customization options are introduced
 in the future.
 
See @EnableAsync for usage examples.
AbstractAsyncConfiguration, 
EnableAsync, 
AsyncConfigurerSupport| Modifier and Type | Method and Description | 
|---|---|
| default Executor | getAsyncExecutor()The  Executorinstance to be used when processing async
 method invocations. | 
| default org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler | getAsyncUncaughtExceptionHandler()The  AsyncUncaughtExceptionHandlerinstance to be used
 when an exception is thrown during an asynchronous method execution
 withvoidreturn type. | 
@Nullable default Executor getAsyncExecutor()
Executor instance to be used when processing async
 method invocations.@Nullable default org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
AsyncUncaughtExceptionHandler instance to be used
 when an exception is thrown during an asynchronous method execution
 with void return type.