Package org.apache.cassandra.concurrent
Interface ResizableThreadPoolMXBean
-
- All Superinterfaces:
ResizableThreadPool
- All Known Implementing Classes:
ThreadPoolExecutorJMXAdapter
public interface ResizableThreadPoolMXBean extends ResizableThreadPool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetCoreThreads()Deprecated.intgetMaximumThreads()Deprecated.voidsetCoreThreads(int number)Deprecated.voidsetMaximumThreads(int number)Deprecated.-
Methods inherited from interface org.apache.cassandra.concurrent.ResizableThreadPool
getActiveTaskCount, getCompletedTaskCount, getCorePoolSize, getMaximumPoolSize, getMaxTasksQueued, getPendingTaskCount, oldestTaskQueueTime, setCorePoolSize, setMaximumPoolSize
-
-
-
-
Method Detail
-
getCoreThreads
@Deprecated int getCoreThreads()
Deprecated.Returns core pool size of thread pool. Deprecated, use getCorePoolSize instead.
-
setCoreThreads
@Deprecated void setCoreThreads(int number)
Deprecated.Allows user to resize core pool size of the thread pool. Deprecated, use setCorePoolSize instead.
-
getMaximumThreads
@Deprecated int getMaximumThreads()
Deprecated.Returns maximum pool size of thread pool. Deprecated, use getMaximumThreads instead.
-
setMaximumThreads
@Deprecated void setMaximumThreads(int number)
Deprecated.Allows user to resize maximum size of the thread pool. Deprecated, use setMaximumThreads instead.
-
-