Class MonitoringQueuedThreadPool

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.thread.QueuedThreadPool
org.cometd.benchmark.MonitoringQueuedThreadPool
All Implemented Interfaces:
Executor, 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

public class MonitoringQueuedThreadPool
extends org.eclipse.jetty.util.thread.QueuedThreadPool
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue  

    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.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
  • Field Summary

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

    FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
  • Constructor Summary

    Constructors 
    Constructor Description
    MonitoringQueuedThreadPool​(int maxThreads)  
  • Method Summary

    Modifier and Type Method Description
    void execute​(Runnable job)  
    long getAverageQueueLatency()  
    long getAverageTaskLatency()  
    int getMaxActiveThreads()  
    long getMaxQueueLatency()  
    int getMaxQueueSize()  
    long getMaxTaskLatency()  
    long getTasks()  
    void reset()  

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

    doStart, doStop, dump, dump, dumpThread, getBusyThreads, getIdleThreads, getIdleTimeout, getMaxThreads, getMinThreads, getName, getQueue, getQueueSize, getThreads, getThreadsPriority, interruptThread, isDaemon, isDetailedDump, isLowOnThreads, join, newThread, runJob, setDaemon, setDetailedDump, setIdleTimeout, setMaxThreads, setMinThreads, setName, setQueue, setThreadsPriority, toString

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

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

    Methods inherited from class java.lang.Object

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