|
|
@ -83,8 +83,7 @@ public class ThreadPoolTaskExecutorAdapter implements DynamicThreadPoolAdapter {
|
|
|
|
.threadFactory(threadPoolExecutor.getThreadFactory())
|
|
|
|
.threadFactory(threadPoolExecutor.getThreadFactory())
|
|
|
|
// threadPoolId default beanName
|
|
|
|
// threadPoolId default beanName
|
|
|
|
.threadPoolId(beanName)
|
|
|
|
.threadPoolId(beanName)
|
|
|
|
.rejected(threadPoolExecutor.getRejectedExecutionHandler())
|
|
|
|
.rejected(threadPoolExecutor.getRejectedExecutionHandler());
|
|
|
|
;
|
|
|
|
|
|
|
|
// use new Queue
|
|
|
|
// use new Queue
|
|
|
|
threadPoolBuilder.capacity(queueCapacity);
|
|
|
|
threadPoolBuilder.capacity(queueCapacity);
|
|
|
|
// .workQueue(threadPoolExecutor.getQueue())
|
|
|
|
// .workQueue(threadPoolExecutor.getQueue())
|
|
|
|