Class LatchedExecutorServiceCompletionService

java.lang.Object
dev.getelements.elements.rt.util.LatchedExecutorServiceCompletionService
Direct Known Subclasses:
LatchedScheduledExecutorServiceCompletionService

public class LatchedExecutorServiceCompletionService extends Object
Manages tasks queued to an instance of ExecutorService managing execution through a CompletionServiceLatch. Unlike the builtin JDK Executor Completion Service this allows for multiple returned Future<?> types and only tracks the number of tasks. This allows for the tracking of a specific subset of tasks kicked off by an ExecutorService which may be shared by multiple objects.