number of threads in pool
max length of work queue
called during initialization of this class to create a worker for each thread
Provides the state of a package of work
check the state of a queued Worker object
- hashcode of queued object
Add a value to the queue.
Start all threads.
Stop all threads and wait for them to finish.