This class manages a pool of worker threads. The Work Manager uses this
class to execute the command in different threads.
author: Sun Microsystems, Inc.
Constructor Summary
WorkThreadPool(int minThreadCount, int maxThreadCount) Creates a new instance of WorkThreadPool.
WorkThreadPool() Creates a new instance of WorkThreadPool.
Gets a free thread from the free thread pool.
a worker thread instance if a free thread exists; otherwisenull. throws: IllegalStateException - when the thread pool is not running.
Release the thread to the free pool. This method is used by worker
threads to notify that it has completed processing its command.
Parameters: thread - - worker thread instance. throws: IllegalStateException - throws: NoSuchElementException - DOCUMENT ME!