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 StripedExecutorMXBeanpublic int getStripesCount()
getStripesCount in interface StripedExecutorMXBeanpublic boolean isShutdown()
isShutdown in interface StripedExecutorMXBeanTrue 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 StripedExecutorMXBeanTrue if all tasks have completed following shut down.public int getTotalQueueSize()
getTotalQueueSize in interface StripedExecutorMXBeanpublic long getTotalCompletedTasksCount()
getTotalCompletedTasksCount in interface StripedExecutorMXBeanpublic long[] getStripesCompletedTasksCounts()
getStripesCompletedTasksCounts in interface StripedExecutorMXBeanpublic int getActiveCount()
getActiveCount in interface StripedExecutorMXBeanpublic boolean[] getStripesActiveStatuses()
getStripesActiveStatuses in interface StripedExecutorMXBeanpublic int[] getStripesQueueSizes()
getStripesQueueSizes in interface StripedExecutorMXBean
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017