Method Summary |
|
IoFuture | addListener(IoFutureListener> listener) Adds an event listener which is notified when
the state of this future changes. |
IoFuture | await() Wait for the asynchronous operation to end. |
boolean | await(long timeout, TimeUnit unit) Wait for the asynchronous operation to end with the specified timeout. |
boolean | await(long timeoutMillis) Wait for the asynchronous operation to end with the specified timeout. |
IoFuture | awaitUninterruptibly() Wait for the asynchronous operation to end uninterruptibly. |
boolean | awaitUninterruptibly(long timeout, TimeUnit unit) Wait for the asynchronous operation to end with the specified timeout
uninterruptibly. |
boolean | awaitUninterruptibly(long timeoutMillis) Wait for the asynchronous operation to end with the specified timeout
uninterruptibly. |
IoSession | getSession() Returns the
IoSession which is associated with this future. |
boolean | isReady() Returns if the asynchronous operation is finished. |
void | join() |
boolean | join(long timeoutMillis) |
IoFuture | removeListener(IoFutureListener> listener) Removes an existing event listener which is notified when
the state of this future changes. |