ThreadPoolTaskExecutor create 参数例子
时间: 2023-03-14 10:18:13 浏览: 142
Origin教程009所需练习数据
参数例子可以这样:ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setCorePoolSize(5); executor.setMaxPoolSize(10); executor.setQueueCapacity(25); executor.initialize();
阅读全文