|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--org.omegahat.Environment.TaskManagement.TaskQueue
|
+--org.omegahat.Interfaces.CORBA.TaskManagement.DistributedTaskQueue
|
+--org.omegahat.Interfaces.CORBA.TaskManagement.LoopTaskQueue
TaskQueue that not only stores
tasks, but also creates them,
specifying the argument list for each task
as a single integer.
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
LoopTaskQueue(CORBATaskInterface task,
int[] ids)
Allows the user to specify the argument value for each task as a non-contiguous sequence. |
|
LoopTaskQueue(CORBATaskInterface task,
int start,
int stop)
|
|
LoopTaskQueue(java.lang.String methodName,
int start,
int stop)
|
|
LoopTaskQueue(java.lang.String methodName,
java.lang.String idlType,
int start,
int stop)
|
|
| Method Summary | |
void |
add(CORBATaskInterface task,
int[] ids)
Creates a task corresponding to each entry in the specified ids
array, using that value as the sole argument
to the call. |
void |
add(CORBATaskInterface task,
int start,
int stop)
Creates ( stop - start + 1)
new tasks and adds them to the queue,
with the new tasks having the simple argument
list {start},
{start + 1},...,
{stop}. |
void |
add(java.lang.String methodName,
java.lang.String idlType,
int start,
int stop)
Create all the tasks of the form |
void |
addTask(java.lang.String methodName,
int i,
java.lang.String idlType)
Create and add a task calling the specified method with the single argument i and constraining
the server type to be one that implements the specified interface. |
CORBATaskInterface |
createTask(CORBATaskInterface task,
int i)
Copies the specified task and inserts the argument list containing the single value i |
| Methods inherited from class org.omegahat.Interfaces.CORBA.TaskManagement.DistributedTaskQueue |
addTask, addTask, copy |
| Methods inherited from class org.omegahat.Environment.TaskManagement.TaskQueue |
addTask, addTask, getTask, getTask, tasks, tasks, tasks |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public LoopTaskQueue(CORBATaskInterface task,
int start,
int stop)
add(CORBATaskInterface,int,int)
public LoopTaskQueue(java.lang.String methodName,
int start,
int stop)
public LoopTaskQueue(java.lang.String methodName,
java.lang.String idlType,
int start,
int stop)
public LoopTaskQueue(CORBATaskInterface task,
int[] ids)
LoopTaskQueue(CORBATaskInterface,int,int)| Method Detail |
public void add(CORBATaskInterface task,
int start,
int stop)
stop - start + 1)
new tasks and adds them to the queue,
with the new tasks having the simple argument
list {start},
{start + 1},...,
{stop}.
public void add(CORBATaskInterface task,
int[] ids)
ids
array, using that value as the sole argument
to the call.
public CORBATaskInterface createTask(CORBATaskInterface task,
int i)
i
public void add(java.lang.String methodName,
java.lang.String idlType,
int start,
int stop)
<methodName >(i)for servers that implement the specified IDL interface where i goes between
start and stop, inclusive.addTask(String,int,String)
public void addTask(java.lang.String methodName,
int i,
java.lang.String idlType)
i and constraining
the server type to be one that implements the specified interface.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||