Package io.dropwizard.metrics5.jetty9
Class InstrumentedQueuedThreadPool
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.util.thread.QueuedThreadPool
io.dropwizard.metrics5.jetty9.InstrumentedQueuedThreadPool
- All Implemented Interfaces:
Executor,ThreadFactory,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 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.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.ThreadPool
org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPoolNested 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, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEYFields inherited from interface org.eclipse.jetty.util.thread.TryExecutor
NO_TRY -
Constructor Summary
Constructors Constructor Description InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry)InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry, int maxThreads)InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry, int maxThreads, int minThreads)InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry, int maxThreads, int minThreads, int idleTimeout)InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry, int maxThreads, int minThreads, int idleTimeout, BlockingQueue<Runnable> queue)InstrumentedQueuedThreadPool(io.dropwizard.metrics5.MetricRegistry registry, int maxThreads, int minThreads, int idleTimeout, BlockingQueue<Runnable> queue, String prefix) -
Method Summary
Methods inherited from class org.eclipse.jetty.util.thread.QueuedThreadPool
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, startThread, toString, tryExecuteMethods 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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry) -
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry, @Name("maxThreads") int maxThreads) -
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry, @Name("maxThreads") int maxThreads, @Name("minThreads") int minThreads) -
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry, @Name("maxThreads") int maxThreads, @Name("minThreads") int minThreads, @Name("idleTimeout") int idleTimeout) -
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry, @Name("maxThreads") int maxThreads, @Name("minThreads") int minThreads, @Name("idleTimeout") int idleTimeout, @Name("queue") BlockingQueue<Runnable> queue) -
InstrumentedQueuedThreadPool
public InstrumentedQueuedThreadPool(@Name("registry") io.dropwizard.metrics5.MetricRegistry registry, @Name("maxThreads") int maxThreads, @Name("minThreads") int minThreads, @Name("idleTimeout") int idleTimeout, @Name("queue") BlockingQueue<Runnable> queue, @Name("prefix") String prefix)
-
-
Method Details