|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aspects.asynch.FutureImpl
public class FutureImpl
Comment
| Constructor Summary | |
|---|---|
FutureImpl(EDU.oswego.cs.dl.util.concurrent.FutureResult result)
|
|
| 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 |
setRemoteObjectID(org.jboss.util.id.GUID remoteObjectID)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FutureImpl(EDU.oswego.cs.dl.util.concurrent.FutureResult result)
| Method Detail |
|---|
public void setRemoteObjectID(org.jboss.util.id.GUID remoteObjectID)
setRemoteObjectID in interface RemotableFuturepublic 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 | |||||||||