public interface IAsyncResult<T>
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getError()
Any unhandled exception raised during the course of execution.
|
T |
getResult()
Contains the async call if it succeeded, otherwise null.
|
boolean |
isError()
Whether the call failed.
|
boolean |
isSuccess()
Whether the call was successful.
|
boolean isSuccess()
boolean isError()
T getResult()
Throwable getError()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.