public interface AsyncResult<T>
Represents a result that may not have occurred yet.
Modifier and Type | Method and Description |
---|---|
Throwable |
cause()
An exception describing failure.
|
boolean |
failed()
Did it fail?
|
T |
result()
The result of the operation.
|
boolean |
succeeded()
Did it succeed?
|
Copyright © 2014. All Rights Reserved.