The thread will be active for a configurable time, if no new tasks are received within that time the thread is killed.
Before the processor thread takes a task from the input queue the queue is scavenged from erroneous tasks. For each of the erroneous tasks the error action of the task is invoked.
In case the queue is full when putting a task, the error action of the task is invoked.
The processor can be shutdown; when doing that the processor thread is killed and each task is removed from the input queue and the error action is invoked on the task. @author ejoelbi @since 2006 nov 1 @reveiwed ehsroha 2006-nov-14
|
|