|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Management interface for the thread pool.
Method Summary | |
ThreadPool (src) |
getInstance()
Get the instance |
int |
getMaximumPoolSize()
Get the maximum pool size |
int |
getMinimumPoolSize()
Get the minimum pool size |
java.lang.String |
getName()
Get the thread pool name |
int |
getPoolNumber()
Get the internal pool number |
void |
setMaximumPoolSize(int size)
Set the maximum pool size |
void |
setMinimumPoolSize(int size)
Set the minimum pool size |
void |
setName(java.lang.String name)
Set the thread pool name |
void |
stop()
Stop the thread pool |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic int getPoolNumber()
public int getMinimumPoolSize()
public void setMinimumPoolSize(int size)
size
- the minimum pool sizepublic int getMaximumPoolSize()
public void setMaximumPoolSize(int size)
size
- the maximum pool sizepublic ThreadPool (src) getInstance()
public void stop()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |