|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object implementing this interface if a place holder object for an upcomming result yet to come.
see active object creation doumentation
Method Summary | |
UniqueID |
getCreatorID()
To get the creatorID. |
FutureResult |
getFutureResult()
Get the encapsulation of the result and the potential exception. |
long |
getID()
To get the sequence id of this future. |
java.lang.Throwable |
getRaisedException()
|
java.lang.Object |
getResult()
|
boolean |
isAwaited()
|
void |
setCreatorID(UniqueID i)
To set the creatorID, ie the UniqueID of the body which create this future |
void |
setID(long id)
To set the sequence id of this future. |
void |
setSenderID(UniqueID i)
To set the senderID, ie the UniqueID of the body that will send this future, in case of automatic continuation. |
void |
waitFor()
Blocks the calling thread until the future object is available. |
void |
waitFor(long timeout)
Blocks the calling thread until the future object is available or the timeout expires |
Methods inherited from interface org.objectweb.proactive.core.body.future.LocalFuture |
receiveReply |
Method Detail |
public boolean isAwaited()
public void waitFor(long timeout) throws ProActiveException
timeout
-
ProActiveException
- if the timeout expirespublic void waitFor()
public java.lang.Throwable getRaisedException()
public java.lang.Object getResult()
public FutureResult getFutureResult()
public void setID(long id)
public long getID()
public void setCreatorID(UniqueID i)
public UniqueID getCreatorID()
public void setSenderID(UniqueID i)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |