|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.util.queue.Queue
public class Queue
| Constructor Summary | |
|---|---|
Queue()
Creates a new instance of Queue |
|
| Method Summary | |
|---|---|
void |
addJob(Job job,
JobHandler handlerObj)
Add a new a job to end of queue |
java.lang.Object |
getJob()
Check if there are any jobs. |
protected void |
setQueueWorker(QueueWorker worker)
Register the QueueWorker object to update queue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Queue()
| Method Detail |
|---|
public void addJob(Job job,
JobHandler handlerObj)
public java.lang.Object getJob()
throws QueueException
QueueExceptionprotected void setQueueWorker(QueueWorker worker)
QueueWorker object to update queue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||