Class SemaphoreCompletionService<T>

  • All Implemented Interfaces:
    CompletionService<T>

    public class SemaphoreCompletionService<T>
    extends Object
    implements CompletionService<T>
    Executes tasks in the given executor, but never has more than maxConcurrentTasks tasks running at the same time.
    Since:
    7.2
    Author:
    Dan Berindei