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 Details

    • 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)