Methods Summary |
---|
public void | add(int index, java.lang.Object object)Add the job at the specified position. Probably based on priority?
super.add(index, taskFactory.createTask(object));
|
public void | addAll(java.util.ArrayList arrayList)
for (int i=0; i < arrayList.size(); i++) {
Object o = taskFactory.createTask(arrayList.get(i));
arrayList.set(i, o);
}
super.addAll(arrayList);
|
public void | addFirst(java.lang.Object o)Add to the head of the queue. Probably a high priority job?
super.addFirst(taskFactory.createTask(o));
|
public void | addFirst(Servicable ser)Add to the head of the queue. Probably a high priority job?
super.addFirst(ser);
|
public void | addLast(java.lang.Object o)Add to the tail of the queue.
super.addLast(taskFactory.createTask(o));
|
public void | addLast(Servicable ser)Add to the tail of the queue.
super.addLast(ser);
|
public void | destroyTask(java.lang.Object o)Hook to enable factory to deleteTask. The deleteTask
can potentially return the object to some pool
taskFactory.deleteTask(o);
|