API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent. ExecutorCompletionService View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ExecutorCompletionService
Implements
 CompletionService
Subclasses
Description
public class ExecutorCompletionService
  A CompletionService that uses a supplied Executor to execute tasks.
See also:   
Constructors
public ExecutorCompletionService (Executor executor)
  Creates an ExecutorCompletionService using the supplied executor for base task execution and a LinkedBlockingQueue as a completion queue.
public ExecutorCompletionService (Executor executor, BlockingQueue<Future< V>> completionQueue)
  Creates an ExecutorCompletionService using the supplied executor for base task execution and the supplied queue as its completion queue.
Methods
Hide/Show inherited methods
public Future< V> poll () [Specified in CompletionService]
public Future< V> poll (long timeout, TimeUnit unit) throws InterruptedException [Specified in CompletionService]
public Future< V> submit (Callable< V> task) [Specified in CompletionService]
public Future< V> submit (Runnable task, V result) [Specified in CompletionService]
public Future< V> take () throws InterruptedException [Specified in CompletionService]
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar