|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aspects.asynch.FutureProxy
public class FutureProxy
Comment
| Constructor Summary | |
|---|---|
FutureProxy()
|
|
| Method Summary | |
|---|---|
Object |
get()
get result, throws Exception of method or InterruptedException |
Object |
get(long milliseconds)
get result, throws Exception of method or InterruptedException |
boolean |
isDone()
is the method call done? |
void |
release()
Release this future so that it can be garbaged collected remotely This is only useful for remote asynchronous. |
void |
setDelegate(Future delegate)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FutureProxy()
| Method Detail |
|---|
public void setDelegate(Future delegate)
public void release()
Future
release in interface Future
public Object get()
throws InterruptedException,
InvocationTargetException
Future
get in interface FutureInterruptedException
InvocationTargetException
public Object get(long milliseconds)
throws TimeoutException,
InterruptedException,
InvocationTargetException
Future
get in interface FutureTimeoutException
InterruptedException
InvocationTargetExceptionpublic boolean isDone()
Future
isDone in interface Future
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||