Methods Summary |
---|
public void | addWork(Work aWorkItem)This method is used to add work to the WorkQueue
|
public long | averageTimeInQueue()Returns the average time a work item is waiting in the queue before
getting processed.
|
public java.lang.String | getName()This method will return the name of the WorkQueue.
|
public ThreadPool | getThreadPool()Get the ThreadPool instance servicing this WorkQueue
|
public void | setThreadPool(ThreadPool aThreadPool)Set the ThreadPool instance servicing this WorkQueue
|
public long | totalWorkItemsAdded()Returns the total number of Work items added to the Queue.
|
public int | workItemsInQueue()Returns the total number of Work items in the Queue to be processed.
|