|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The MBean interface for all services that utilize a thread pool. This interface is implemented in the abstract base class ThreadPoolService and serves as a base interface for all thread pool based services
| Fields inherited from interface jrunx.kernel.Service |
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED |
| Method Summary | |
int |
getActiveHandlerThreads()
Gets the number of active handler threads for the thread pool |
int |
getMaxHandlerThreads()
Gets the maximum number of handler threads for the thread pool |
int |
getMinHandlerThreads()
Gets the minimum number of handler threads for the thread pool |
int |
getThreadWaitTimeout()
Gets the timeout value before giving up waiting for a thread to become available. |
void |
setActiveHandlerThreads(int activeThreads)
Sets the number of active handler threads for the thread pool |
void |
setMaxHandlerThreads(int maxThreads)
Sets the maximum number of handler threads for the thread pool |
void |
setMinHandlerThreads(int minThreads)
Sets the minimum number of handler threads for the thread pool |
void |
setThreadWaitTimeout(int timeoutSeconds)
Sets the timeout value before giving up waiting for a thread to become available. |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
| Methods inherited from interface jrunx.kernel.Service |
destroy, getStatus, init, start, stop, updateStatus |
| Method Detail |
public int getMinHandlerThreads()
public void setMinHandlerThreads(int minThreads)
minThreads - The minimum number of handler threadspublic int getMaxHandlerThreads()
public void setMaxHandlerThreads(int maxThreads)
maxThreads - The minimum number of handler threadspublic int getActiveHandlerThreads()
public void setActiveHandlerThreads(int activeThreads)
actvieThreads - The number of active handler threadspublic void setThreadWaitTimeout(int timeoutSeconds)
public int getThreadWaitTimeout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||