| |
|
| java.util.LinkedList com.knowgate.scheduler.AtomQueue
AtomQueue | public class AtomQueue extends LinkedList (Code) | | Memory FIFO Queue for job atoms pending of processing
author: Sergio Montoro Ten version: 1.0 |
AtomQueue | public AtomQueue()(Code) | | Create an empty queue with a maximum of 1000 atoms
|
AtomQueue | public AtomQueue(int iMaxSize)(Code) | | Create an empty queue
Parameters: iMaxSize - Maximum number of atoms that the queue can mantain in memory |
maxsize | public int maxsize()(Code) | | Maximum number of atoms that the queue can mantain in memory |
pop | public synchronized Atom pop()(Code) | | Pop first available atom from queue
|
push | public synchronized void push(Atom oAtm)(Code) | | Add an atom to the end of the queue
Parameters: oAtm - Atom object to be added |
|
|
|