com.tivoli.twg.libs
Class QueueBatch.QueueServer

java.lang.Object
  extended bycom.tivoli.twg.libs.QueueBatch.QueueServer
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
QueueBatch

public class QueueBatch.QueueServer
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
QueueBatch.QueueServer()
           
 
Method Summary
 void run()
          Worker thread entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueBatch.QueueServer

public QueueBatch.QueueServer()
Method Detail

run

public void run()
Worker thread entry point. This method will remove and process an enqueued element. As elements are removed, their "process" methods are called. When the queue becomes empty, this thread sleeps indefinately until an element is enqueued.

Specified by:
run in interface java.lang.Runnable