List of usage examples for java.util.concurrent ExecutorCompletionService subclass-usage
From source file com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.AccountingCompletionService.java
/**
* Extends {@link ExecutorCompletionService} to count the number of tasks that
* have been submitted so they can be waited on in bulk. Each wait call (
* {@link #waitForCompletions()} and friends) resets the count so it can be
* called again later.
* <p>