- addListener
- cancellationExceptionWithCause
- clearListeners
Clears the #listeners list and returns the most recently added value.
- clearWaiters
Clears the #waiters list and returns the most recently added value.
- complete
Unblocks all threads and runs all listeners.
- completeWithFuture
Called when a future passed via setFuture has completed.
- done
Callback method that is called immediately after the future is completed.This is
called exactly once
- executeListener
Submits the given runnable to the given Executor catching and logging all
RuntimeException thrown by
- getDoneValue
Unboxes obj. Assumes that obj is not null or a SetFuture.
- interruptTask
Subclasses can override this method to implement interruption of the future's
computation. The metho
- isCancelled
- isDone