Application queue state shared among worker threads. More...
Public Member Functions | |
ApplicationQueueState () | |
Public Attributes | |
RequestQueue | queue |
Normal request queue. More... | |
RequestQueue | urgent_queue |
Urgent request queue. More... | |
GroupStateMap | group_state_map |
Group ID to group state map. More... | |
std::mutex | mutex |
Mutex for serializing concurrent access More... | |
std::condition_variable | cond |
Condition variable to signal pending handlers. More... | |
std::condition_variable | quiesce_cond |
Condition variable used to signal quiesced queue. More... | |
size_t | threads_available |
Idle thread count. More... | |
size_t | threads_total |
Total initial threads. More... | |
bool | shutdown |
Flag indicating if shutdown is in progress. More... | |
bool | paused |
Flag indicating if queue has been paused. More... | |
Application queue state shared among worker threads.
Definition at line 125 of file ApplicationQueue.h.
|
inline |
Definition at line 127 of file ApplicationQueue.h.
std::condition_variable Hypertable::ApplicationQueue::ApplicationQueueState::cond |
Condition variable to signal pending handlers.
Definition at line 143 of file ApplicationQueue.h.
GroupStateMap Hypertable::ApplicationQueue::ApplicationQueueState::group_state_map |
Group ID to group state map.
Definition at line 137 of file ApplicationQueue.h.
std::mutex Hypertable::ApplicationQueue::ApplicationQueueState::mutex |
Mutex for serializing concurrent access
Definition at line 140 of file ApplicationQueue.h.
bool Hypertable::ApplicationQueue::ApplicationQueueState::paused |
Flag indicating if queue has been paused.
Definition at line 158 of file ApplicationQueue.h.
RequestQueue Hypertable::ApplicationQueue::ApplicationQueueState::queue |
Normal request queue.
Definition at line 131 of file ApplicationQueue.h.
std::condition_variable Hypertable::ApplicationQueue::ApplicationQueueState::quiesce_cond |
Condition variable used to signal quiesced queue.
Definition at line 146 of file ApplicationQueue.h.
bool Hypertable::ApplicationQueue::ApplicationQueueState::shutdown |
Flag indicating if shutdown is in progress.
Definition at line 155 of file ApplicationQueue.h.
size_t Hypertable::ApplicationQueue::ApplicationQueueState::threads_available |
Idle thread count.
Definition at line 149 of file ApplicationQueue.h.
size_t Hypertable::ApplicationQueue::ApplicationQueueState::threads_total |
Total initial threads.
Definition at line 152 of file ApplicationQueue.h.
RequestQueue Hypertable::ApplicationQueue::ApplicationQueueState::urgent_queue |
Urgent request queue.
Definition at line 134 of file ApplicationQueue.h.