|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Management interface for the thread pool.
Method Summary | |
ThreadPool |
getInstance()
Get the instance |
int |
getMaximumPoolSize()
Get the maximum pool size |
int |
getMinimumPoolSize()
Get the minimum pool size |
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(String name)
Set the thread pool name |
void |
stop()
Stop the thread pool |
Method Detail |
public String getName()
public void setName(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 getInstance()
public void stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |