Home » geronimo-2.2-source-release » org.apache.geronimo.system.threads » [javadoc | source]
org.apache.geronimo.system.threads
public interface: ThreadPool [javadoc | source]

All Known Implementing Classes:
    ThreadPool, GeronimoExecutor

Management interface for thread pools
Method from org.apache.geronimo.system.threads.ThreadPool Summary:
awaitTermination,   execute,   getActiveCount,   getMaximumPoolSize,   getPoolSize
Method from org.apache.geronimo.system.threads.ThreadPool Detail:
 public boolean awaitTermination(long timeout,
    TimeUnit unit) throws InterruptedException
 public  void execute(String consumerName,
    Runnable runnable) throws InterruptedException
    Executes work on behalf of a named client. This helps the thread pool track who's using its threads.
 public int getActiveCount()
 public int getMaximumPoolSize()
    Gets the maximum number of threads allowed for this thread pool
 public int getPoolSize()