Make ThreadPoolTaskExecutor
implements ExecutorService
and make ThreadPoolTaskScheduler
implement ScheduledExecutorService
in order to make these classes more convenient to use.
Comment From: pivotal-cla
@qian0817 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@qian0817 Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@qian0817 Thanks for the PR but I don't think the extra delegation is worth it. ThreadPoolTaskExecutor
has a getThreadPoolExecutor
that provides access to the executor. And same for ThreadPoolTaskScheduler
.