public class JMXForkJoinPoolMonitor extends ForkJoinPoolMonitor implements ForkJoinPoolMXBean
ForkJoinPoolMonitor.Status| Constructor and Description |
|---|
JMXForkJoinPoolMonitor(java.lang.String name,
java.util.concurrent.ForkJoinPool fjPool) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.concurrent.ForkJoinPool |
fjPool() |
int |
getActiveThreadCount() |
boolean |
getAsyncMode() |
ForkJoinInfo |
getInfo() |
long[] |
getLatency() |
java.lang.String |
getMbeanName() |
int |
getParallelism() |
int |
getPoolSize() |
int |
getQueuedSubmissionCount() |
long |
getQueuedTaskCount() |
int |
getRunningThreadCount() |
ForkJoinPoolMonitor.Status |
getStatus() |
long |
getStealCount() |
boolean |
isRegistered() |
protected void |
registerMBean() |
void |
shutdown() |
void |
shutdownNow() |
void |
unregister() |
public JMXForkJoinPoolMonitor(java.lang.String name,
java.util.concurrent.ForkJoinPool fjPool)
protected void registerMBean()
public void unregister()
unregister in class ForkJoinPoolMonitorpublic java.lang.String getMbeanName()
public boolean isRegistered()
protected java.util.concurrent.ForkJoinPool fjPool()
fjPool in class ForkJoinPoolMonitorpublic ForkJoinPoolMonitor.Status getStatus()
getStatus in interface ForkJoinPoolMXBeanpublic boolean getAsyncMode()
getAsyncMode in interface ForkJoinPoolMXBeanpublic int getParallelism()
getParallelism in interface ForkJoinPoolMXBeanpublic int getPoolSize()
getPoolSize in interface ForkJoinPoolMXBeanpublic int getActiveThreadCount()
getActiveThreadCount in interface ForkJoinPoolMXBeanpublic int getRunningThreadCount()
getRunningThreadCount in interface ForkJoinPoolMXBeanpublic int getQueuedSubmissionCount()
getQueuedSubmissionCount in interface ForkJoinPoolMXBeanpublic long getQueuedTaskCount()
getQueuedTaskCount in interface ForkJoinPoolMXBeanpublic long getStealCount()
getStealCount in interface ForkJoinPoolMXBeanpublic long[] getLatency()
getLatency in interface ForkJoinPoolMXBeanpublic ForkJoinInfo getInfo()
getInfo in interface ForkJoinPoolMXBeanpublic void shutdown()
shutdown in interface ForkJoinPoolMXBeanpublic void shutdownNow()
shutdownNow in interface ForkJoinPoolMXBean