public class StripedExecutorMXBeanAdapter extends Object implements StripedExecutorMXBean
StripedExecutorMXBean
which delegates all method calls to the underlying
ExecutorService
instance.Modifier and Type | Method and Description |
---|---|
void |
checkStarvation()
Checks for starvation in striped pool, dumps in log information if potential starvation
was found.
|
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. |
public void checkStarvation()
checkStarvation
in interface StripedExecutorMXBean
public int getStripesCount()
getStripesCount
in interface StripedExecutorMXBean
public boolean isShutdown()
isShutdown
in interface StripedExecutorMXBean
True
if this executor has been shut down.public boolean isTerminated()
isTerminated()
is never true
unless either shutdown()
or
shutdownNow()
was called first.isTerminated
in interface StripedExecutorMXBean
True
if all tasks have completed following shut down.public int getTotalQueueSize()
getTotalQueueSize
in interface StripedExecutorMXBean
public long getTotalCompletedTasksCount()
getTotalCompletedTasksCount
in interface StripedExecutorMXBean
public long[] getStripesCompletedTasksCounts()
getStripesCompletedTasksCounts
in interface StripedExecutorMXBean
public int getActiveCount()
getActiveCount
in interface StripedExecutorMXBean
public boolean[] getStripesActiveStatuses()
getStripesActiveStatuses
in interface StripedExecutorMXBean
public int[] getStripesQueueSizes()
getStripesQueueSizes
in interface StripedExecutorMXBean
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017