Package org.jboss.threads.management
Interface ManageableThreadPoolExecutorService
-
- All Superinterfaces:
Executor,ExecutorService
- All Known Implementing Classes:
EnhancedQueueExecutor,ManagedThreadPoolExecutor
public interface ManageableThreadPoolExecutorService extends ExecutorService
A thread pool for which an MBean can be obtained.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StandardThreadPoolMXBeangetThreadPoolMXBean()Create or acquire an MXBean instance for this thread pool.-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
-
-
-
Method Detail
-
getThreadPoolMXBean
@NotNull 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:
- the MXBean instance (must not be
null)
-
-