Package org.apache.cassandra.concurrent
Interface ResizableThreadPool
-
- All Known Subinterfaces:
JMXEnabledThreadPoolExecutorMBean,LocalAwareExecutorService,SEPExecutorMBean
- All Known Implementing Classes:
AbstractLocalAwareExecutorService,CompactionManager.ValidationExecutor,DebuggableThreadPoolExecutor,ImmediateExecutor,JMXEnabledSingleThreadExecutor,JMXEnabledThreadPoolExecutor,SEPExecutor
public interface ResizableThreadPool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCorePoolSize()Returns maximum pool size of thread pool.intgetMaximumPoolSize()Returns maximum pool size of thread pool.voidsetCorePoolSize(int newCorePoolSize)Allows user to resize maximum size of the thread pool.voidsetMaximumPoolSize(int newMaximumPoolSize)Allows user to resize maximum size of the thread pool.
-
-
-
Method Detail
-
getCorePoolSize
int getCorePoolSize()
Returns maximum pool size of thread pool.
-
setCorePoolSize
void setCorePoolSize(int newCorePoolSize)
Allows user to resize maximum size of the thread pool.
-
getMaximumPoolSize
int getMaximumPoolSize()
Returns maximum pool size of thread pool.
-
setMaximumPoolSize
void setMaximumPoolSize(int newMaximumPoolSize)
Allows user to resize maximum size of the thread pool.
-
-