Application queue worker thread function (functor)
More...
Application queue worker thread function (functor)
Definition at line 163 of file ApplicationQueue.h.
void Hypertable::ApplicationQueue::Worker::operator() |
( |
| ) |
|
|
inline |
void Hypertable::ApplicationQueue::Worker::remove |
( |
RequestRec * |
rec | ) |
|
|
inlineprivate |
Removes and deletes a request.
This method updates the group state associated with rec
by setting the running flag to false and decrementing the outstanding count. If the outstanding count for the group drops to 0, the group state record is removed from ApplicationQueueState::group_state_map and is deleted.
- Parameters
-
rec | Request record to remove |
Definition at line 272 of file ApplicationQueue.h.
void Hypertable::ApplicationQueue::Worker::remove_expired |
( |
RequestRec * |
rec | ) |
|
|
inlineprivate |
Removes and deletes an expired request.
This method updates the group state associated with rec
by decrementing the outstanding count. If the outstanding count for the group drops to 0, the group state record is removed from ApplicationQueueState::group_state_map and is deleted.
- Parameters
-
rec | Request record to remove |
Definition at line 292 of file ApplicationQueue.h.
bool Hypertable::ApplicationQueue::Worker::m_one_shot |
|
private |
Set to true if thread should exit after executing request.
Definition at line 307 of file ApplicationQueue.h.
The documentation for this class was generated from the following file: