Class InstrumentedQueuedThreadPool

  • 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.LifeCycle, org.eclipse.jetty.util.thread.ThreadPool, org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPool, org.eclipse.jetty.util.thread.TryExecutor

    public class InstrumentedQueuedThreadPool
    extends org.eclipse.jetty.util.thread.QueuedThreadPool
    • 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.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doStart()  
      String getPrefix()  
      void setPrefix​(String prefix)  
      • Methods inherited from class org.eclipse.jetty.util.thread.QueuedThreadPool

        doStop, dump, dumpThread, execute, getBusyThreads, getIdleThreads, getIdleTimeout, getLowThreadsThreshold, getMaxThreads, getMinThreads, getName, getQueue, getQueueSize, getReservedThreads, getThreadPoolBudget, getThreads, getThreadsPriority, interruptThread, isDaemon, isDetailedDump, isLowOnThreads, join, newThread, removeThread, runJob, setDaemon, setDetailedDump, setIdleTimeout, setLowThreadsThreshold, setMaxThreads, setMinThreads, setName, setQueue, setReservedThreads, setThreadPoolBudget, setThreadsPriority, toString, tryExecute
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, 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 interface org.eclipse.jetty.util.component.Dumpable

        dump, dumpSelf
    • Constructor Detail

      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry)
      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry,
                                            @Name("maxThreads")
                                            int maxThreads)
      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry,
                                            @Name("maxThreads")
                                            int maxThreads,
                                            @Name("minThreads")
                                            int minThreads)
      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry,
                                            @Name("maxThreads")
                                            int maxThreads,
                                            @Name("minThreads")
                                            int minThreads,
                                            @Name("idleTimeout")
                                            int idleTimeout)
      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry,
                                            @Name("maxThreads")
                                            int maxThreads,
                                            @Name("minThreads")
                                            int minThreads,
                                            @Name("idleTimeout")
                                            int idleTimeout,
                                            @Name("queue")
                                            BlockingQueue<Runnable> queue)
      • InstrumentedQueuedThreadPool

        public InstrumentedQueuedThreadPool​(@Name("registry")
                                            MetricRegistry registry,
                                            @Name("maxThreads")
                                            int maxThreads,
                                            @Name("minThreads")
                                            int minThreads,
                                            @Name("idleTimeout")
                                            int idleTimeout,
                                            @Name("queue")
                                            BlockingQueue<Runnable> queue,
                                            @Name("prefix")
                                            String prefix)
    • Method Detail

      • getPrefix

        public String getPrefix()
      • setPrefix

        public void setPrefix​(String prefix)
      • doStart

        protected void doStart()
                        throws Exception
        Overrides:
        doStart in class org.eclipse.jetty.util.thread.QueuedThreadPool
        Throws:
        Exception