public interface ThreadPoolMBean
Modifier and Type | Method and Description |
---|---|
ThreadPool |
getInstance() |
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
|
int |
getPoolSize()
Get the current pool size
|
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
|
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 sizeint getPoolSize()
ThreadPool getInstance()
void stop()
Copyright © 2018 JBoss by Red Hat. All rights reserved.