#include <PooledThreadListener.h>
Inheritance diagram for activemq::concurrent::PooledThreadListener:
Public Member Functions | |
virtual | ~PooledThreadListener (void) |
virtual void | onTaskStarted (PooledThread *thread)=0 |
virtual void | onTaskCompleted (PooledThread *thread)=0 |
virtual void | onTaskException (PooledThread *thread, exceptions::ActiveMQException &ex)=0 |
|
Destructor |
|
Called by a pooled thread when it has completed a task and is going back to waiting for another task to run
Implemented in activemq::concurrent::ThreadPool. |
|
Called by a pooled thread when it has encountered an exception while running a user task, after receiving this notification the callee should assume that the PooledThread is now no longer running.
Implemented in activemq::concurrent::ThreadPool. |
|
Called by a pooled thread when it is about to begin executing a new task.
Implemented in activemq::concurrent::ThreadPool. |