| 
 | ||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Management interface for the thread pool.
| Method Summary | |
|  BlockingMode (src)  | getBlockingMode() | 
|  long | getKeepAliveTime()Get the keep alive time | 
|  int | getMaximumQueueSize()Get the maximum queue size | 
|  int | getQueueSize()Get the current queue size | 
|  java.lang.String | getThreadGroupName()Retrieve the thread group name | 
|  void | setBlockingMode(BlockingMode (src)  mode)Set the behavior of the pool when a task is added and the queue is full. | 
|  void | setKeepAliveTime(long time)Set the keep alive time | 
|  void | setMaximumQueueSize(int size)Set the maximum queue size | 
|  void | setThreadGroupName(java.lang.String threadGroupName)Set the thread group name | 
| Methods inherited from interface org.jboss.util.threadpool.ThreadPoolMBean (src) | 
| getInstance, getMaximumPoolSize, getMinimumPoolSize, getName, getPoolNumber, setMaximumPoolSize, setMinimumPoolSize, setName, stop | 
| Method Detail | 
public int getQueueSize()
public int getMaximumQueueSize()
public void setMaximumQueueSize(int size)
size - the new maximum queue sizepublic BlockingMode (src) getBlockingMode()
public void setBlockingMode(BlockingMode (src) mode)
mode - one of run, wait, discard, discardOldest or abort without
    regard to case.public java.lang.String getThreadGroupName()
public void setThreadGroupName(java.lang.String threadGroupName)
threadGroupName - - the thread group namepublic long getKeepAliveTime()
public void setKeepAliveTime(long time)
time - the keep alive time| 
 | ||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||