mandala.rami.impl
Class BasicFutureFactory
java.lang.Object
mandala.rami.impl.BasicFutureFactory
- All Implemented Interfaces:
- FutureFactory, Serializable
- public class BasicFutureFactory
- extends Object
- implements FutureFactory, Serializable
Basic implementation of the FutureFactory
interface.
- Version:
- 1.0
- Author:
- eipi
- See Also:
FutureFactory
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicFutureFactory
public BasicFutureFactory()
getFutureComponents
public FutureFactory.FutureComponents getFutureComponents(AsynchronousReference ar,
MethodOp method,
Object[] args,
ThreadOp caller,
Callback callback)
- Description copied from interface:
FutureFactory
Returns the FutureComponents
of the specified reflexive
asynchronous method invocation.
- Specified by:
getFutureComponents
in interface FutureFactory
- Parameters:
method
- the method which will be invoked asynchronouslyargs
- the arguments of the specified methodcaller
- the thread which has requested the reflexive asynchronous
method invocationcallback
- the Callback
to use when the asynchronous
method invocation is terminated.
- Returns:
- a
FutureComponents
object representing both side of
the future object - See Also:
FutureFactory.FutureComponents
,
Callback
,
MethodOp
,
ThreadOp
Mandala help mailing list