Class BlockingExecutorService

  • All Implemented Interfaces:
    Executor, ExecutorService

    public class BlockingExecutorService
    extends Object
    implements ExecutorService
    Submits up to a maximum count tasks to a delegate ExecutorService. Blocks submitting thread if it thries to submit more than the maximum number of tasks.
    Author:
    Falko Bräutigam