- acquireShared
- acquireSharedInterruptibly
- cancel
Transition to the CANCELLED state.
- compareAndSetState
- complete
Implementation of completing a task. Either v or t will be set but not both. The
finalState is the s
- get
Blocks until the task is complete or the timeout expires. Throws a
TimeoutException if the timer exp
- getState
- getValue
Implementation of the actual value retrieval. Will return the value on success,
an exception on fail
- isCancelled
Checks if the state is #CANCELLED.
- isDone
Checks if the state is #COMPLETED or #CANCELLED.
- releaseShared
- set
Transition to the COMPLETED state and set the value.