Example usage for Java java.util.concurrent ExecutorCompletionService fields, constructors, methods, implement or subclass
The text is from its open source code.
ExecutorCompletionService(Executor executor) Creates an ExecutorCompletionService using the supplied executor for base task execution and a LinkedBlockingQueue as a completion queue. | |
ExecutorCompletionService(Executor executor, BlockingQueue Creates an ExecutorCompletionService using the supplied executor for base task execution and the supplied queue as its completion queue. |
Future | poll() |
Future | poll(long timeout, TimeUnit unit) |
Future | submit(Callable |
Future | submit(Runnable task, V result) |
Future | take() |