|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAsyncResult
| Method Summary | |
|---|---|
void |
clear()
Clear this AsyncResult. |
java.lang.Object |
get()
Get the underlying result. |
java.lang.Object |
get(long msecs)
Get the underlying result with limited wait time. |
java.lang.reflect.InvocationTargetException |
getException()
Get the InvocationTargetException that occured during invocation. |
boolean |
isReady()
|
java.lang.Object |
peek()
|
| Method Detail |
|---|
java.lang.Object get()
throws java.lang.InterruptedException,
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException - thrown if waiting is interrupted
java.lang.reflect.InvocationTargetException - thrown if exception was thrown by execution
java.lang.Object get(long msecs)
throws TimeoutException,
java.lang.InterruptedException,
java.lang.reflect.InvocationTargetException
Object.wait(), but only waits msecs (ms) before throwing
TimeoutException
msecs - to wait before timing out
TimeoutException - thrown if msecs elapse before a result is available
java.lang.InterruptedException - thrown if waiting is interrupted
java.lang.reflect.InvocationTargetException - thrown if exception was thrown by executionjava.lang.reflect.InvocationTargetException getException()
Null if no
exception has occurredboolean isReady()
java.lang.Object peek()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||