0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Hypertable::MaintenanceQueue::Worker Class Reference
Collaboration diagram for Hypertable::MaintenanceQueue::Worker:
Collaboration graph
[legend]

Public Member Functions

 Worker (MaintenanceQueueState &state)
 
void operator() ()
 

Private Member Functions

uint32_t lowest_inflight_level ()
 Determine the lowest level of the tasks currently being executed. More...
 

Private Attributes

MaintenanceQueueStatem_state
 

Detailed Description

Definition at line 91 of file MaintenanceQueue.h.

Constructor & Destructor Documentation

Hypertable::MaintenanceQueue::Worker::Worker ( MaintenanceQueueState state)
inline

Definition at line 95 of file MaintenanceQueue.h.

Member Function Documentation

uint32_t Hypertable::MaintenanceQueue::Worker::lowest_inflight_level ( )
inlineprivate

Determine the lowest level of the tasks currently being executed.

This method iterates through the MaintenanceQueueState::inflight_levels array and stops at the first non-zero count and returns the corresponding level.

Returns
Lowest level of tasks currently being executed.

Definition at line 210 of file MaintenanceQueue.h.

void Hypertable::MaintenanceQueue::Worker::operator() ( )
inline

Definition at line 97 of file MaintenanceQueue.h.

Member Data Documentation

MaintenanceQueueState& Hypertable::MaintenanceQueue::Worker::m_state
private

Definition at line 218 of file MaintenanceQueue.h.


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