Java java.util.concurrent CompletionService fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent CompletionService fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent CompletionService.

The text is from its open source code.

Method

Futurepoll()
Retrieves and removes the Future representing the next completed task, or null if none are present.
Futurepoll(long timeout, TimeUnit unit)
Retrieves and removes the Future representing the next completed task, waiting if necessary up to the specified wait time if none are yet present.
Futuresubmit(Callable task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
Futuresubmit(Runnable task, V result)
Submits a Runnable task for execution and returns a Future representing that task.
Futuretake()
Retrieves and removes the Future representing the next completed task, waiting if none are yet present.