org.objectweb.proactive
Class ObjectForSynchro
java.lang.Object
org.objectweb.proactive.ObjectForSynchro
- All Implemented Interfaces:
- java.io.Serializable
public class ObjectForSynchro
- extends java.lang.Object
- implements java.io.Serializable
An object instance of this class is to be returned when a method of an active
object wants to let the caller wait synchronously the end of the execution of the
method. No real data is expected as a result, but the caller can used the object
returned to wait the actual execution (service) of the request.
In order to wait the method waitFor
of ProActive
can be used
Object sync = A.m(); // m returns a future of an ObjectForSynchro
ProActive.waitFor(sync); // perform a wait until the ObjectForSynchro if returned
- Since:
- ProActive 0.9
- Version:
- 1.0, 2001/10/23
- Author:
- ProActive Team
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectForSynchro
public ObjectForSynchro()
- No arg constructor for Serializable
Copyright 2001-2007 INRIA All Rights Reserved.