org.objectweb.proactive.core.event
Class FutureEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.objectweb.proactive.core.event.ProActiveEvent
|
+--org.objectweb.proactive.core.event.FutureEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class FutureEvent
- extends ProActiveEvent
- implements java.io.Serializable
A FutureEvent
occurs when a FuturProxy
blocks the executing Thread because the result is not yet available.
- Since:
- ProActive 0.9
- Version:
- 1.0, 2001/10/23
- Author:
- ProActive Team
- See Also:
FutureProxy
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
FutureEvent(UniqueID bodyID,
UniqueID creatorID,
int type)
Creates a new FutureEvent based on the given FutureProxy |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WAIT_BY_NECESSITY
public static final int WAIT_BY_NECESSITY
- Created when a Thread is blocked.
- See Also:
- Constant Field Values
RECEIVED_FUTURE_RESULT
public static final int RECEIVED_FUTURE_RESULT
- Created when a Thread continues
- See Also:
- Constant Field Values
FutureEvent
public FutureEvent(UniqueID bodyID,
UniqueID creatorID,
int type)
- Creates a new
FutureEvent
based on the given FutureProxy
getCreatorID
public UniqueID getCreatorID()
- Returns the
UniqueID
of the body that created the corresponding Future
- Returns:
- the
UniqueID
of the body that created the corresponding Future
getBodyID
public UniqueID getBodyID()
- Returns the
UniqueID
of the body that is waiting
- Returns:
- the
UniqueID
of the body that is waiting
toString
public java.lang.String toString()
- Overrides:
toString
in class ProActiveEvent
Copyright © April 2004 INRIA All Rights Reserved.