Future interface, which has full control over the state.
Future
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public R | Returns: current result value without any blocking.Get current result value without any blocking. |
| public void |
| failure | back to summary |
|---|---|
| public void failure(Throwable failure) Notify about the failure, occurred during asynchronous operation execution. | |
| getResult | back to summary |
|---|---|
| public R getResult() Get current result value without any blocking.
| |
| result | back to summary |
|---|---|
| public void result(R result) Set the result value and notify about operation completion.
| |