FileDocCategorySizeDatePackage
WorkQueue.javaAPI DocJava SE 5 API1115Fri Aug 26 14:54:40 BST 2005com.sun.corba.se.spi.orbutil.threadpool

WorkQueue

public interface WorkQueue

Fields Summary
Constructors Summary
Methods Summary
public voidaddWork(Work aWorkItem)
This method is used to add work to the WorkQueue

public longaverageTimeInQueue()
Returns the average time a work item is waiting in the queue before getting processed.

public java.lang.StringgetName()
This method will return the name of the WorkQueue.

public ThreadPoolgetThreadPool()
Get the ThreadPool instance servicing this WorkQueue

public voidsetThreadPool(ThreadPool aThreadPool)
Set the ThreadPool instance servicing this WorkQueue

public longtotalWorkItemsAdded()
Returns the total number of Work items added to the Queue.

public intworkItemsInQueue()
Returns the total number of Work items in the Queue to be processed.