|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - the type of value returned by the callpublic interface Callback<V>
Asynchronous Call listeners.
Call| Method Summary | |
|---|---|
void |
done(V value)
Invoked when the value returned by the call is available. |
void |
onFailure(Throwable failure)
Invoked when the call does not complete successfully. |
long |
timeout()
The time to wait on the value returned by the call. |
| Method Detail |
|---|
void done(V value)
value - the valuevoid onFailure(Throwable failure)
Failures may be generated by a Calls, or by the expiration of timeouts set on their
asynchronous execution. In the latter case, the failures are TimeoutExceptions.
failure - the failurelong timeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||