|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BasicThreadPoolMBean
Management interface for the thread pool.
| Method Summary | |
|---|---|
BlockingMode |
getBlockingMode()
|
long |
getKeepAliveTime()
Get the keep alive time |
int |
getMaximumQueueSize()
Get the maximum queue size |
int |
getQueueSize()
Get the current queue size |
String |
getThreadGroupName()
Retrieve the thread group name |
void |
setBlockingMode(BlockingMode 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(String threadGroupName)
Set the thread group name |
| Methods inherited from interface org.jboss.util.threadpool.ThreadPoolMBean |
|---|
getInstance, getMaximumPoolSize, getMinimumPoolSize, getName, getPoolNumber, setMaximumPoolSize, setMinimumPoolSize, setName, stop |
| Method Detail |
|---|
int getQueueSize()
int getMaximumQueueSize()
void setMaximumQueueSize(int size)
size - the new maximum queue sizeBlockingMode getBlockingMode()
void setBlockingMode(BlockingMode mode)
mode - one of run, wait, discard, discardOldest or abort without
regard to case.String getThreadGroupName()
void setThreadGroupName(String threadGroupName)
threadGroupName - - the thread group namelong getKeepAliveTime()
void setKeepAliveTime(long time)
time - the keep alive time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||