类 AsyncConfigurerSupport
- java.lang.Object
- org.springframework.scheduling.annotation.AsyncConfigurerSupport
- 所有已实现的接口:
AsyncConfigurer
public class AsyncConfigurerSupport extends Object implements AsyncConfigurer
A convenienceAsyncConfigurerthat implements all methods so that the defaults are used. Provides a backward compatible alternative of implementingAsyncConfigurerdirectly.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
构造器概要
构造器 构造器 说明 AsyncConfigurerSupport()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExecutorgetAsyncExecutor()TheExecutorinstance to be used when processing async method invocations.AsyncUncaughtExceptionHandlergetAsyncUncaughtExceptionHandler()TheAsyncUncaughtExceptionHandlerinstance to be used when an exception is thrown during an asynchronous method execution withvoidreturn type.
构造器详细资料
AsyncConfigurerSupport
public AsyncConfigurerSupport()
方法详细资料
getAsyncExecutor
public Executor getAsyncExecutor()
从接口复制的说明:AsyncConfigurerTheExecutorinstance to be used when processing async method invocations.- 指定者:
getAsyncExecutor在接口中AsyncConfigurer
getAsyncUncaughtExceptionHandler
@Nullable public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
从接口复制的说明:AsyncConfigurerTheAsyncUncaughtExceptionHandlerinstance to be used when an exception is thrown during an asynchronous method execution withvoidreturn type.