|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mortbay.component.AbstractLifeCycle
org.apache.servicemix.http.jetty.JettyContextManager.ThreadPoolWrapper
protected class JettyContextManager.ThreadPoolWrapper
| Constructor Summary | |
|---|---|
protected |
JettyContextManager.ThreadPoolWrapper()
|
| Method Summary | |
|---|---|
boolean |
dispatch(Runnable job)
|
int |
getIdleThreads()
|
int |
getThreads()
|
boolean |
isLowOnThreads()
|
void |
join()
|
| Methods inherited from class org.mortbay.component.AbstractLifeCycle |
|---|
doStart, doStop, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JettyContextManager.ThreadPoolWrapper()
| Method Detail |
|---|
public boolean dispatch(Runnable job)
dispatch in interface org.mortbay.thread.ThreadPoolpublic int getIdleThreads()
getIdleThreads in interface org.mortbay.thread.ThreadPoolpublic int getThreads()
getThreads in interface org.mortbay.thread.ThreadPool
public void join()
throws InterruptedException
join in interface org.mortbay.thread.ThreadPoolInterruptedExceptionpublic boolean isLowOnThreads()
isLowOnThreads in interface org.mortbay.thread.ThreadPool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||