Notification of queue events, creation, task running and destruction
Type | Name and description |
---|---|
void |
creation(Thread t) Notification of a new worker thread association with the queue |
void |
destruction(Thread t) Notification of the removal of the passed thread as a queue worker thread. |
void |
runTask(Job<T> job) Notification of a scheduled task execution. |
void |
shutdown() Notification of the queue shutdown. |
Notification of a new worker thread association with the queue
t
- the thread being associated.Notification of the removal of the passed thread as a queue worker thread.
t
- the removed thread.Notification of a scheduled task execution.
job
- the job that should be executed on the current thread.Notification of the queue shutdown. All native resources must be released.