public class StripedExecutorMXBeanAdapter extends Object implements StripedExecutorMXBean
StripedExecutorMXBean which delegates all method calls to the underlying
ExecutorService instance.| Constructor and Description |
|---|
StripedExecutorMXBeanAdapter(StripedExecutor exec) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStarvation()
Deprecated.
|
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. |
public StripedExecutorMXBeanAdapter(StripedExecutor exec)
exec - Executor service@Deprecated public void checkStarvation()
checkStarvation in interface StripedExecutorMXBeanpublic boolean detectStarvation()
detectStarvation in interface StripedExecutorMXBeanTrue if possible starvation in striped pool is detected.public 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 Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020