Top Description Methods
org.jboss.threads.management

public Interface ManageableThreadPoolExecutorService

extends ExecutorService
Known Direct Implementers
org.jboss.threads.EnhancedQueueExecutor, org.jboss.threads.ManagedThreadPoolExecutor
Imports
java.util.concurrent.ExecutorService, org.wildfly.common.annotation.NotNull

A thread pool for which an MBean can be obtained.

Method Summary

Modifier and TypeMethod and Description
public StandardThreadPoolMXBean

Returns:

the MXBean instance (must not be null)
getThreadPoolMXBean
()

Create or acquire an MXBean instance for this thread pool.

Inherited from java.util.concurrent.ExecutorService:
awaitTerminationcloseinvokeAllinvokeAllinvokeAnyinvokeAnyisShutdownisTerminatedshutdownshutdownNowsubmitsubmitsubmit

Method Detail

getThreadPoolMXBeanback to summary
public StandardThreadPoolMXBean getThreadPoolMXBean()

Create or acquire an MXBean instance for this thread pool. Note that the thread pool itself will not do anything in particular to register (or unregister) the MXBean with a JMX server; that is the caller's responsibility.

Returns:StandardThreadPoolMXBean

the MXBean instance (must not be null)

Annotations
@NotNull