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

#include <RangeMaintenanceGuard.h>

Classes

class  Activator
 

Public Member Functions

 RangeMaintenanceGuard ()
 
void activate ()
 
void deactivate ()
 
void wait_for_complete (bool disable=false)
 
bool in_progress ()
 
void disable ()
 
void enable ()
 

Private Attributes

std::mutex m_mutex
 
std::condition_variable m_cond
 
bool m_in_progress {}
 
bool m_disabled {}
 

Detailed Description

Definition at line 30 of file RangeMaintenanceGuard.h.

Constructor & Destructor Documentation

Hypertable::RangeMaintenanceGuard::RangeMaintenanceGuard ( )
inline

Definition at line 33 of file RangeMaintenanceGuard.h.

Member Function Documentation

void Hypertable::RangeMaintenanceGuard::activate ( )
inline

Definition at line 35 of file RangeMaintenanceGuard.h.

void Hypertable::RangeMaintenanceGuard::deactivate ( )
inline

Definition at line 44 of file RangeMaintenanceGuard.h.

void Hypertable::RangeMaintenanceGuard::disable ( )
inline

Definition at line 62 of file RangeMaintenanceGuard.h.

void Hypertable::RangeMaintenanceGuard::enable ( )
inline

Definition at line 67 of file RangeMaintenanceGuard.h.

bool Hypertable::RangeMaintenanceGuard::in_progress ( )
inline

Definition at line 57 of file RangeMaintenanceGuard.h.

void Hypertable::RangeMaintenanceGuard::wait_for_complete ( bool  disable = false)
inline

Definition at line 50 of file RangeMaintenanceGuard.h.

Member Data Documentation

std::condition_variable Hypertable::RangeMaintenanceGuard::m_cond
private

Definition at line 86 of file RangeMaintenanceGuard.h.

bool Hypertable::RangeMaintenanceGuard::m_disabled {}
private

Definition at line 88 of file RangeMaintenanceGuard.h.

bool Hypertable::RangeMaintenanceGuard::m_in_progress {}
private

Definition at line 87 of file RangeMaintenanceGuard.h.

std::mutex Hypertable::RangeMaintenanceGuard::m_mutex
private

Definition at line 85 of file RangeMaintenanceGuard.h.


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