Java Multithreading, Concurrency, and Parallelism — Part 21.4
8 min readApr 21, 2022
ScheduledThreadPoolExecutor
and SingleThreadExecutor
In the last part, we have seen newFixedThreadPool
and newCachedThreadPool
and how they use the ThreadPoolExecutor
by changing the constructor parameters. In this article, we will have a look at SingleThreadedExector
and ScheduledThreadPoolExecutor
.