public interface Future<T> extends AsyncResult<T>
Modifier and Type | Method and Description |
---|---|
boolean |
complete()
Has it completed?
|
Future<T> |
setFailure(java.lang.Throwable throwable)
Set the failure.
|
Future<T> |
setHandler(Handler<AsyncResult<T>> handler)
Set a handler for the result.
|
Future<T> |
setResult(T result)
Set the result.
|
cause, failed, result, succeeded
boolean complete()
Future<T> setHandler(Handler<AsyncResult<T>> handler)