public class WorkerPool
extends java.lang.Object
| Constructor and Description |
|---|
WorkerPool() |
WorkerPool(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getWorkerCount() |
java.util.List<Worker> |
getWorkers() |
void |
stopWorkers() |
boolean |
submit(Task task) |
void |
waitForAll() |