|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPoolMBean
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 |
---|
String getName()
void setName(String name)
name
- the nameint getPoolNumber()
int getMinimumPoolSize()
void setMinimumPoolSize(int size)
size
- the minimum pool sizeint getMaximumPoolSize()
void setMaximumPoolSize(int size)
size
- the maximum pool sizeThreadPool getInstance()
void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |