- <init>
Creates a FutureTask that will, upon running, execute the given Callable.
- get
- run
Sets this Future to the result of its computation unless it has been cancelled.
- cancel
- isDone
- isCancelled
- set
Sets the result of this future to the given value unless this future has already
been set or has bee
- setException
Causes this future to report an ExecutionExceptionwith the given throwable as
its cause, unless this
- done
Protected method invoked when this task transitions to state isDone (whether
normally or via cancell
- runAndReset
Executes the computation without setting its result, and then resets this future
to initial state, f
- awaitDone
Awaits completion or aborts on interrupt or timeout.
- finishCompletion
Removes and signals all waiting threads, invokes done(), and nulls out callable.