|
||||||||
| 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(Future result)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
get()
get result, throws Exception of method or InterruptedException |
java.lang.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(Future result)
| Method Detail |
|---|
public void setRemoteObjectID(org.jboss.util.id.GUID remoteObjectID)
setRemoteObjectID in interface RemotableFuturepublic void release()
Future
release in interface Future
public java.lang.Object get()
throws java.lang.InterruptedException,
java.lang.reflect.InvocationTargetException
Future
get in interface Futurejava.lang.InterruptedException
java.lang.reflect.InvocationTargetException
public java.lang.Object get(long milliseconds)
throws TimeoutException,
java.lang.InterruptedException,
java.lang.reflect.InvocationTargetException
Future
get in interface FutureTimeoutException
java.lang.InterruptedException
java.lang.reflect.InvocationTargetExceptionpublic boolean isDone()
Future
isDone in interface Future
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||