|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.thread.QueuedThreadPool
org.cometd.benchmark.MonitoringQueuedThreadPool
public class MonitoringQueuedThreadPool
| Nested Class Summary | |
|---|---|
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.thread.ThreadPool |
|---|
org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPool |
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
MonitoringQueuedThreadPool(int maxThreads)
|
|
| Method Summary | |
|---|---|
boolean |
dispatch(Runnable job)
|
long |
getAverageQueueLatency()
|
int |
getMaxActiveThreads()
|
long |
getMaxQueueLatency()
|
int |
getMaxQueueSize()
|
void |
reset()
|
| Methods inherited from class org.eclipse.jetty.util.thread.QueuedThreadPool |
|---|
doStart, doStop, dump, dump, dumpThread, execute, getIdleThreads, getMaxIdleTimeMs, getMaxQueued, getMaxStopTimeMs, getMaxThreads, getMinThreads, getName, getQueue, getThreads, getThreadsPriority, interruptThread, isDaemon, isDetailedDump, isLowOnThreads, join, newThread, runJob, setDaemon, setDetailedDump, setMaxIdleTimeMs, setMaxQueued, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setThreadsPriority, stopThread, toString |
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
addLifeCycleListener, getState, getState, 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 |
| Constructor Detail |
|---|
public MonitoringQueuedThreadPool(int maxThreads)
| Method Detail |
|---|
public boolean dispatch(Runnable job)
dispatch in interface org.eclipse.jetty.util.thread.ThreadPooldispatch in class org.eclipse.jetty.util.thread.QueuedThreadPoolpublic void reset()
public int getMaxActiveThreads()
public int getMaxQueueSize()
public long getAverageQueueLatency()
public long getMaxQueueLatency()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||