qx::service::QxThreadPool : thread-safe thread pool to manage list of threads for executing all transactions of QxService module
More...
#include <QxThreadPool.h>
◆ QxThreadPool()
qx::service::QxThreadPool::QxThreadPool |
( |
| ) |
|
|
inline |
◆ ~QxThreadPool()
virtual qx::service::QxThreadPool::~QxThreadPool |
( |
| ) |
|
|
inlinevirtual |
◆ clearServices()
void qx::service::QxThreadPool::clearServices |
( |
| ) |
|
|
protected |
◆ customRequestHandler
◆ error
◆ getAvailable()
QxThread * qx::service::QxThreadPool::getAvailable |
( |
| ) |
|
◆ initServices()
void qx::service::QxThreadPool::initServices |
( |
| ) |
|
|
protected |
◆ isStopped()
bool qx::service::QxThreadPool::isStopped |
( |
| ) |
const |
◆ raiseError()
void qx::service::QxThreadPool::raiseError |
( |
const QString & | err, |
|
|
QxTransaction_ptr | transaction ) |
◆ run()
virtual void qx::service::QxThreadPool::run |
( |
| ) |
|
|
protectedvirtual |
◆ runServer()
void qx::service::QxThreadPool::runServer |
( |
| ) |
|
|
protected |
◆ serverIsRunning
◆ setAvailable()
void qx::service::QxThreadPool::setAvailable |
( |
QxThread * | p | ) |
|
◆ sleepThread()
static void qx::service::QxThreadPool::sleepThread |
( |
unsigned long | msecs | ) |
|
|
inlinestatic |
◆ transactionFinished
◆ transactionStarted
◆ m_bIsStopped
bool qx::service::QxThreadPool::m_bIsStopped |
|
protected |
Flag to indicate if thread has been stopped.
Definition at line 84 of file QxThreadPool.h.
◆ m_lstAllServices
QList<QxThread *> qx::service::QxThreadPool::m_lstAllServices |
|
protected |
◆ m_lstAvailable
QQueue<QxThread *> qx::service::QxThreadPool::m_lstAvailable |
|
protected |
List of services available to execute process.
Definition at line 83 of file QxThreadPool.h.
◆ m_mutex
QMutex qx::service::QxThreadPool::m_mutex |
|
protected |
The documentation for this class was generated from the following file: