org.apache.geronimo.jetty6.connector
Class JettyThreadPool

java.lang.Object
  extended by org.apache.geronimo.jetty6.connector.JettyThreadPool
All Implemented Interfaces:
org.mortbay.thread.ThreadPool

public class JettyThreadPool
extends Object
implements org.mortbay.thread.ThreadPool


Constructor Summary
JettyThreadPool(ThreadPool executor, String name)
           
 
Method Summary
 boolean dispatch(Runnable runnable)
           
 int getIdleThreads()
           
 int getThreads()
           
 boolean isLowOnThreads()
           
 void join()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyThreadPool

public JettyThreadPool(ThreadPool executor,
                       String name)
Method Detail

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-2007 Apache Software Foundation. All Rights Reserved.