public interface AsyncResult
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete()
Returns true if the AsyncResult has completed.
|
void |
onFailure(Throwable result)
If the operation fails this method is invoked with the Exception
that caused the failure.
|
void |
onSuccess()
If the operation succeeds the resulting value produced is set to null and
the waiting parties are signaled.
|
void onFailure(Throwable result)
result
- The error that resulted in this asynchronous operation failing.void onSuccess()
boolean isComplete()
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.