|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
com.knowgate.scheduler.AtomQueue
Memory FIFO Queue for job atoms pending of processing
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
AtomQueue()
Create an empty queue with a maximum of 1000 atoms |
|
AtomQueue(int iMaxSize)
Create an empty queue |
|
| Method Summary | |
int |
maxsize()
|
Atom |
pop()
Pop first available atom from queue |
void |
push(Atom oAtm)
Add an atom to the end of the queue |
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
public AtomQueue()
public AtomQueue(int iMaxSize)
iMaxSize - Maximum number of atoms that the queue can mantain in memory| Method Detail |
public int maxsize()
public void push(Atom oAtm)
Add an atom to the end of the queue
oAtm - Atom object to be addedpublic Atom pop()
Pop first available atom from queue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||