- addListener
Adds the specified listener to this future. The specified listener is notified
when this future is #
- getChannel
Returns a channel where the I/O operation associated with this future takes
place.
- awaitUninterruptibly
Waits for this future to be completed within the specified time limit without
interruption. This met
- getCause
Returns the cause of the failed I/O operation if the I/O operation has failed.
- await
Waits for this future to be completed within the specified time limit.
- cancel
Cancels the I/O operation associated with this future and notifies all listeners
if canceled success
- isDone
Returns true if and only if this future is complete, regardless of whether the
operation was success
- isCancelled
Returns true if and only if this future was cancelled by a #cancel() method.
- setFailure
Marks this future as a failure and notifies all listeners.
- setSuccess
Marks this future as a success and notifies all listeners.
- removeListener
Removes the specified listener from this future. The specified listener is no
longer notified when t
- syncUninterruptibly
Waits for this future until it is done, and rethrows the cause of the failure if
this future failed.