mandala.rami.impl
Class RandomPolicy
java.lang.Object
mandala.rami.impl.ListAsynchronousPolicy
mandala.rami.impl.RandomPolicy
- All Implemented Interfaces:
- AsynchronousPolicy, Serializable, SingleThreadedSemantic
- public class RandomPolicy
- extends ListAsynchronousPolicy
Single-threaded, random implementation of the
AsynchronousPolicy
interface.
This implementation uses the MethodInvoker
for its method
invocation implementation.
- Version:
- 1.0
- Author:
- eipi
- See Also:
AsynchronousPolicy
,
MethodInvoker
,
Serialized Form
RandomPolicy
public RandomPolicy()
select
protected MethodInvoker select()
- Description copied from class:
ListAsynchronousPolicy
Returns the next MethodInvoker
object to be runned into
the invoker thread<.p>
- Specified by:
select
in class ListAsynchronousPolicy
- Returns:
- the next
MethodInvoker
to be runned into the
invoker thread - See Also:
ListAsynchronousPolicy.invokerThread
,
ListAsynchronousPolicy.getInvokerThread()
toString
public String toString()
- Overrides:
toString
in class ListAsynchronousPolicy
Mandala help mailing list