0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::ApplicationQueue::ApplicationQueueState Class Reference

Application queue state shared among worker threads. More...

Collaboration diagram for Hypertable::ApplicationQueue::ApplicationQueueState:
Collaboration graph
[legend]

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...
 

Detailed Description

Application queue state shared among worker threads.

Definition at line 125 of file ApplicationQueue.h.

Constructor & Destructor Documentation

Hypertable::ApplicationQueue::ApplicationQueueState::ApplicationQueueState ( )
inline

Definition at line 127 of file ApplicationQueue.h.

Member Data Documentation

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.


The documentation for this class was generated from the following file: