| org.apache.geronimo.system.threads.ThreadPool
ThreadPool | public interface ThreadPool (Code) | | Management interface for thread pools
version: $Rev: 543715 $ $Date: 2007-06-02 01:10:16 -0700 (Sat, 02 Jun 2007) $ |
execute | void execute(String consumerName, Runnable runnable) throws InterruptedException(Code) | | Executes work on behalf of a named client. This helps the thread pool
track who's using its threads.
Parameters: consumerName - A name identifying the caller, to be used inthe management statistics for this pool, etc. Parameters: runnable - The work to be done by a thread in the pool |
getActiveCount | int getActiveCount()(Code) | | |
getMaximumPoolSize | int getMaximumPoolSize()(Code) | | Gets the maximum number of threads allowed for this thread pool
|
getPoolSize | int getPoolSize()(Code) | | |
|
|