@MXBeanDescription(value="MBean that provides access to information about striped executor service.") public interface StripedExecutorMXBean
Modifier and Type | Method and Description |
---|---|
void |
checkStarvation()
Deprecated.
Will be removed at 3.0.
|
boolean |
detectStarvation() |
int |
getActiveCount() |
boolean[] |
getStripesActiveStatuses() |
long[] |
getStripesCompletedTasksCounts() |
int |
getStripesCount() |
int[] |
getStripesQueueSizes() |
long |
getTotalCompletedTasksCount() |
int |
getTotalQueueSize() |
boolean |
isShutdown() |
boolean |
isTerminated()
Note that
isTerminated() is never true unless either shutdown() or
shutdownNow() was called first. |
@Deprecated @MXBeanDescription(value="Checks for starvation in striped pool.") void checkStarvation()
@MXBeanDescription(value="True if possible starvation in striped pool is detected.") boolean detectStarvation()
True
if possible starvation in striped pool is detected.@MXBeanDescription(value="Stripes count.") int getStripesCount()
@MXBeanDescription(value="True if this executor has been shut down.") boolean isShutdown()
True
if this executor has been shut down.@MXBeanDescription(value="True if all tasks have completed following shut down.") boolean isTerminated()
isTerminated()
is never true
unless either shutdown()
or
shutdownNow()
was called first.True
if all tasks have completed following shut down.@MXBeanDescription(value="Total queue size of all stripes.") int getTotalQueueSize()
@MXBeanDescription(value="Completed tasks count of all stripes.") long getTotalCompletedTasksCount()
@MXBeanDescription(value="Number of completed tasks per stripe.") long[] getStripesCompletedTasksCounts()
@MXBeanDescription(value="Number of active tasks of all stripes.") int getActiveCount()
@MXBeanDescription(value="Number of active tasks per stripe.") boolean[] getStripesActiveStatuses()
@MXBeanDescription(value="Size of queue per stripe.") int[] getStripesQueueSizes()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024