# async executor
async:
corePoolSize: 20
maxPoolSize: 200
queueCapacity: 10000
然后代码中注入
@Autowired
private SpringAsyncExecutor asyncExecutor;
使用
Future<Map<Integer, String>> xxxFuture =
asyncExecutor.a[......]
Spring启用异步执行任务
Leave a reply