KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > ExecutorCompletionService

java.util.concurrent
Class ExecutorCompletionService<V>

java.lang.Object
  extended by java.util.concurrent.ExecutorCompletionService<V>
All Implemented Interfaces:
CompletionService<V>
See Also:
Executor

public ExecutorCompletionService(Executor executor)
See Also:
NullPointerException, LinkedBlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ExecutorCompletionService(Executor executor,
                                 BlockingQueue<Future<V>> completionQueue)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Future<V> poll()
See Also:
CompletionService
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Future<V> poll(long timeout,
                      TimeUnit unit)
               throws InterruptedException
See Also:
CompletionService
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Future<V> submit(Runnable task,
                        V result)
See Also:
CompletionService
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Future<V> submit(Callable<V> task)
See Also:
CompletionService
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Future<V> take()
               throws InterruptedException
See Also:
CompletionService
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags