public class WorkerPool
extends java.lang.Object
Constructor and Description |
---|
WorkerPool()
Worker pool with default configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the thread pool.
|
java.util.Collection<WorkerRunner> |
getCompleted() |
void |
submit(WorkerRunner taskWorker) |
public java.util.Collection<WorkerRunner> getCompleted()
public void submit(WorkerRunner taskWorker)
taskWorker
- the TaskWorker to be executed.public void close()