|
||||||||||
| 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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle |
|---|
org.mortbay.component.LifeCycle.Listener |
| Field Summary |
|---|
| Fields inherited from class org.mortbay.component.AbstractLifeCycle |
|---|
_listeners |
| Constructor Summary | |
|---|---|
protected |
JettyContextManager.ThreadPoolWrapper()
|
| Method Summary | |
|---|---|
boolean |
dispatch(java.lang.Runnable job)
|
int |
getIdleThreads()
|
int |
getThreads()
|
boolean |
isLowOnThreads()
|
void |
join()
|
| Methods inherited from class org.mortbay.component.AbstractLifeCycle |
|---|
addLifeCycleListener, doStart, doStop, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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(java.lang.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 java.lang.InterruptedException
join in interface org.mortbay.thread.ThreadPooljava.lang.InterruptedExceptionpublic 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 | |||||||||