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 int
getCoreThreads()
Deprecated.use getCorePoolSize instead.int
getMaximumThreads()
Deprecated.use getMaximumThreads instead.void
setCoreThreads(int number)
Deprecated.use setCorePoolSize instead.void
setMaximumThreads(int number)
Deprecated.use setMaximumThreads instead.-
Methods inherited from interface org.apache.cassandra.concurrent.ResizableThreadPool
getActiveTaskCount, getCompletedTaskCount, getCorePoolSize, getMaximumPoolSize, getMaxTasksQueued, getPendingTaskCount, oldestTaskQueueTime, setCorePoolSize, setMaximumPoolSize
-
-
-
-
Method Detail
-
getCoreThreads
@Deprecated(since="4.0") int getCoreThreads()
Deprecated.use getCorePoolSize instead. See CASSANDRA-15277Returns core pool size of thread pool.
-
setCoreThreads
@Deprecated(since="4.0") void setCoreThreads(int number)
Deprecated.use setCorePoolSize instead. See CASSANDRA-15277Allows user to resize core pool size of the thread pool.
-
getMaximumThreads
@Deprecated(since="4.0") int getMaximumThreads()
Deprecated.use getMaximumThreads instead. See CASSANDRA-15277Returns maximum pool size of thread pool.
-
setMaximumThreads
@Deprecated(since="4.0") void setMaximumThreads(int number)
Deprecated.use setMaximumThreads instead. See CASSANDRA-15277Allows user to resize maximum size of the thread pool.
-
-