下面列出了org.springframework.scheduling.annotation.AsyncConfigurer#org.springframework.scheduling.annotation.AsyncConfigurerSupport 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
@Bean
public AsyncConfigurer customAsyncConfigurer() {
return new AsyncConfigurerSupport() {
@Override
public Executor getAsyncExecutor() {
return new SimpleAsyncTaskExecutor("customAsyncConfigurer");
}
};
}