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

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

Introduction

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

The text is from its open source code.

Implementation

java.util.concurrent.Future has the following implementations.
Click this link to see all its implementation.

Constructor

Method

booleancancel(boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
Vget()
Waits if necessary for the computation to complete, and then retrieves its result.
Vget(long timeout, TimeUnit unit)
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
booleanisCancelled()
Returns true if this task was cancelled before it completed normally.
booleanisDone()
Returns true if this task completed.
StringtoString()
Returns a string representation of the object.