|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGQueueBatch
TWGTimerBatch is a class that allows sub-classed objects to be enqueued and executed on the "batch" thread. Jobs related to enqueued elements do not have to be sub-second runs. Because of this allowance, there is no guraantee of estimated time of execution. The queue is a simple FIFO. When a queue element is dequeued, the sub-class's "process" method is called.
Field Summary | |
---|---|
protected java.lang.Thread |
myThread
|
Method Summary | |
---|---|
static void |
enqueue(TWGQueueElement element)
This method adds a TWGQueueElement to TWGQueueBatch's queue. |
void |
run()
Our thread's entry point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Thread myThread
Method Detail |
public static void enqueue(TWGQueueElement element)
element
- TWGQueueElement object to be added to the queue.public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |