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