|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the result returned by an asynchronous method invocation.
Every methods of this interface is unsafe related meaning they return an undefined result if the asynchronous method invocation is not considered terminated i.e. when the result is not yet available.
This interface provides informations available after the real execution of the specified method.
InvocationInfo
,
InvocationObserver
,
InvocationEventsWaiter
,
FutureClient
Method Summary | |
boolean |
exceptionOccured()
Returns true if an exception occured during the
asynchronous method invocation, false otherwise. |
java.lang.Throwable |
getException()
Return the exception thrown during the call to an asynchronous method invocation. |
java.lang.Object |
getReturnedResult()
Return the result returned by the call to an asynchronous method invocation. |
java.lang.Object |
getReturnedResultTrusted()
Return the result returned by the call to an asynchronous method invocation. |
Method Detail |
public java.lang.Throwable getException()
Return the exception thrown during the call to an asynchronous method invocation. This method is unsafe related.
public java.lang.Object getReturnedResult() throws java.lang.Throwable
Return the result returned by the call to an asynchronous method
invocation. If doesExceptionOccured()
returns
true
, the exception caught is thrown. This method is
unsafe related.
java.lang.Throwable
- The exception thrown during the call.public java.lang.Object getReturnedResultTrusted()
Return the result returned by the call to an asynchronous method invocation. This method is unsafe related.
If doesExceptionOccured()
returns true
,
the value returned is undefined.
public boolean exceptionOccured()
Returns true
if an exception occured during the
asynchronous method invocation, false
otherwise. This
method is unsafe related.
true
if an exception occured during the
asynchronous method invocation, false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |