org.apache.geronimo.jetty6.connector
Class JettyThreadPool
java.lang.Object
org.apache.geronimo.jetty6.connector.JettyThreadPool
- All Implemented Interfaces:
- org.mortbay.thread.ThreadPool
public class JettyThreadPool
- extends Object
- implements org.mortbay.thread.ThreadPool
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyThreadPool
public JettyThreadPool(ThreadPool executor,
String name)
dispatch
public boolean dispatch(Runnable runnable)
- Specified by:
dispatch in interface org.mortbay.thread.ThreadPool
join
public void join()
throws InterruptedException
- Specified by:
join in interface org.mortbay.thread.ThreadPool
- Throws:
InterruptedException
getThreads
public int getThreads()
- Specified by:
getThreads in interface org.mortbay.thread.ThreadPool
getIdleThreads
public int getIdleThreads()
- Specified by:
getIdleThreads in interface org.mortbay.thread.ThreadPool
isLowOnThreads
public boolean isLowOnThreads()
- Specified by:
isLowOnThreads in interface org.mortbay.thread.ThreadPool
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.