Class WebExecutorThreadPool

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.util.thread.ExecutorThreadPool
org.apache.pulsar.broker.web.WebExecutorThreadPool
All Implemented Interfaces:
Executor, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.util.thread.ThreadPool, org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPool, org.eclipse.jetty.util.thread.TryExecutor

public class WebExecutorThreadPool extends org.eclipse.jetty.util.thread.ExecutorThreadPool
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.ThreadPool

    org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPool

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.TryExecutor

    org.eclipse.jetty.util.thread.TryExecutor.NoTryExecutor
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY

    Fields inherited from interface org.eclipse.jetty.util.thread.TryExecutor

    NO_TRY
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebExecutorThreadPool(int maxThreads, String namePrefix)
     
    WebExecutorThreadPool(int maxThreads, String namePrefix, int queueCapacity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Thread
     

    Methods inherited from class org.eclipse.jetty.util.thread.ExecutorThreadPool

    doStart, doStop, dump, execute, getIdleThreads, getIdleTimeout, getMaxThreads, getMinThreads, getName, getReservedThreads, getThreadPoolBudget, getThreads, getThreadsPriority, isDaemon, isDetailedDump, isLowOnThreads, join, setDaemon, setDetailedDump, setIdleTimeout, setMaxThreads, setMinThreads, setName, setReservedThreads, setThreadsPriority, toString, tryExecute

    Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

    addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable
  • Constructor Details

    • WebExecutorThreadPool

      public WebExecutorThreadPool(int maxThreads, String namePrefix)
    • WebExecutorThreadPool

      public WebExecutorThreadPool(int maxThreads, String namePrefix, int queueCapacity)
  • Method Details

    • newThread

      protected Thread newThread(Runnable job)
      Overrides:
      newThread in class org.eclipse.jetty.util.thread.ExecutorThreadPool