public interface ResizableThreadPool
Modifier and Type | Method and Description |
---|---|
int |
getCorePoolSize()
Returns maximum pool size of thread pool.
|
int |
getMaximumPoolSize()
Returns maximum pool size of thread pool.
|
void |
setCorePoolSize(int newCorePoolSize)
Allows user to resize maximum size of the thread pool.
|
void |
setMaximumPoolSize(int newMaximumPoolSize)
Allows user to resize maximum size of the thread pool.
|
int getCorePoolSize()
void setCorePoolSize(int newCorePoolSize)
int getMaximumPoolSize()
void setMaximumPoolSize(int newMaximumPoolSize)
Copyright © 2009-2021 The Apache Software Foundation