mandala.rami.impl
Class FifoPolicy

java.lang.Object
  extended bymandala.rami.impl.ListAsynchronousPolicy
      extended bymandala.rami.impl.FifoPolicy
All Implemented Interfaces:
AsynchronousPolicy, java.io.Serializable, SingleThreadedSemantic

public class FifoPolicy
extends ListAsynchronousPolicy

Single-threaded, FIFO implementation of the AsynchronousPolicy interface.

This implementation serves method invocation requests with a first in first out policy.

Version:
1.0
Author:
eipi
See Also:
SingleThreadedSemantic, AsynchronousPolicy, MethodInvoker, Serialized Form

Field Summary
 
Fields inherited from class mandala.rami.impl.ListAsynchronousPolicy
DELTA_PRIORITY, invokerThread, methods, threadPriority
 
Constructor Summary
FifoPolicy()
           
 
Method Summary
protected  MethodInvoker select()
          Returns the next MethodInvoker object to be runned into the invoker thread<.p>
 java.lang.String toString()
           
 
Methods inherited from class mandala.rami.impl.ListAsynchronousPolicy
call, finalize, getCurrentSize, getInvokerThread
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FifoPolicy

public FifoPolicy()
Method Detail

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 java.lang.String toString()
Overrides:
toString in class ListAsynchronousPolicy


Mandala help mailing list