Class CommonThreadPool

  • All Implemented Interfaces:
    Executor, ExecutorService

    public class CommonThreadPool
    extends Object
    implements ExecutorService
    This common thread pool provides an abstraction to obtain a shared thread pool, specifically the ForkJoinPool.commonPool, for all requests of the maximum degree of parallelism. If pools of different size are requested, we create new pool instances of FixedThreadPool.