This is class is a simple implementation of a thread pool, based on the ThreadPool interface.
ThreadPool
Runnable objects are sent to the pool with the runInThread(Runnable) method, which blocks until a Thread becomes available.
Runnable
runInThread(Runnable)
Thread
The pool has a fixed number of Threads, and does not grow or shrink based on demand.
This is class is a simple implementation of a thread pool, based on the
ThreadPoolinterface.Runnableobjects are sent to the pool with therunInThread(Runnable)method, which blocks until aThreadbecomes available.The pool has a fixed number of
Threads, and does not grow or shrink based on demand.