public class MonitoringQueuedThreadPool
extends org.eclipse.jetty.util.thread.QueuedThreadPool
Modifier and Type | Class | Description |
---|---|---|
static class |
MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Constructor | Description |
---|---|
MonitoringQueuedThreadPool(int maxThreads) |
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() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
doStart, doStop, dump, dump, dumpThread, getBusyThreads, getIdleThreads, getIdleTimeout, getLowThreadsThreshold, getMaxThreads, getMinThreads, getName, getQueue, getQueueSize, getThreads, getThreadsPriority, interruptThread, isDaemon, isDetailedDump, isLowOnThreads, join, newThread, runJob, setDaemon, setDetailedDump, setIdleTimeout, setLowThreadsThreshold, setMaxThreads, setMinThreads, setName, setQueue, setThreadsPriority, toString
public void execute(Runnable job)
execute
in class org.eclipse.jetty.util.thread.QueuedThreadPool
public void reset()
public long getTasks()
public int getMaxActiveThreads()
public int getMaxQueueSize()
public long getAverageQueueLatency()
public long getMaxQueueLatency()
public long getMaxTaskLatency()
public long getAverageTaskLatency()
Copyright © 2008–2017 The CometD Project. All rights reserved.