public class SimpleWorker extends PoolWorkerStrategy
pleaseWait
abort, executed, threadId
Constructor and Description |
---|
SimpleWorker(IStructure<PTask> taskPool) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
This function iterates while the flag abort is false.
|
checkForWait, getTaskPool, pleaseWait, pleaseWakeUp, setTaskPool, trigger
getExecutedCounter, getThreadID, shutdown, toString
public SimpleWorker(IStructure<PTask> taskPool)
public void execute()
execute
in class WorkerStrategy