public interface QueueDriver
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canContinue()Logic to tell the queue when to stop running
 Queues will always stop when there is no more work to do. | 
| java.util.List | getCandidates()List of work items to "prime" the queue | 
| org.apache.log4j.Logger | getLogger()The logger to use for all logging operations | 
| int | getMaxWorkers()Maximum number of worker threads to run | 
| void | initialize()Actions that has to be executed, when queue is created | 
| QueueWorker | makeWorker(java.lang.Object workItem)Create a worker instance to work on a particular work item | 
| void | setLogger(org.apache.log4j.Logger loggerIn)Set the logger to use for all logging operations | 
void setLogger(org.apache.log4j.Logger loggerIn)
loggerIn - logger to be setorg.apache.log4j.Logger getLogger()
java.util.List getCandidates()
int getMaxWorkers()
QueueWorker makeWorker(java.lang.Object workItem)
workItem - object contained in the list returned from getCandidates()boolean canContinue()
void initialize()