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

#include <MaintenanceTask.h>

Inheritance diagram for Hypertable::MaintenanceTask:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::MaintenanceTask:
Collaboration graph
[legend]

Public Member Functions

 MaintenanceTask (uint32_t _level, int _priority, std::chrono::time_point< std::chrono::steady_clock > &stime, RangePtr &range, const String &desc)
 
 MaintenanceTask (uint32_t _level, int _priority, const String &desc)
 
virtual ~MaintenanceTask ()
 
virtual void execute ()=0
 
Stringdescription ()
 
bool retry ()
 
void set_retry (bool retry)
 
uint32_t get_retry_delay ()
 
void set_retry_delay (uint32_t delay)
 
int get_priority ()
 
void set_priority (int p)
 
Rangeget_range ()
 
void add_subtask (const void *obj, int flags)
 

Public Attributes

std::chrono::time_point
< std::chrono::steady_clock > 
start_time
 
uint32_t level
 
int priority
 

Protected Attributes

RangePtr m_range
 
MaintenanceFlag::Map m_map
 

Private Attributes

bool m_retry {}
 
uint32_t m_retry_delay_millis
 
String m_description
 

Detailed Description

Definition at line 34 of file MaintenanceTask.h.

Constructor & Destructor Documentation

Hypertable::MaintenanceTask::MaintenanceTask ( uint32_t  _level,
int  _priority,
std::chrono::time_point< std::chrono::steady_clock > &  stime,
RangePtr range,
const String desc 
)
inline

Definition at line 37 of file MaintenanceTask.h.

Hypertable::MaintenanceTask::MaintenanceTask ( uint32_t  _level,
int  _priority,
const String desc 
)
inline

Definition at line 43 of file MaintenanceTask.h.

virtual Hypertable::MaintenanceTask::~MaintenanceTask ( )
inlinevirtual

Definition at line 48 of file MaintenanceTask.h.

Member Function Documentation

void Hypertable::MaintenanceTask::add_subtask ( const void *  obj,
int  flags 
)
inline

Definition at line 65 of file MaintenanceTask.h.

String& Hypertable::MaintenanceTask::description ( )
inline

Definition at line 52 of file MaintenanceTask.h.

virtual void Hypertable::MaintenanceTask::execute ( )
pure virtual
int Hypertable::MaintenanceTask::get_priority ( )
inline

Definition at line 60 of file MaintenanceTask.h.

Range* Hypertable::MaintenanceTask::get_range ( )
inline

Definition at line 63 of file MaintenanceTask.h.

uint32_t Hypertable::MaintenanceTask::get_retry_delay ( )
inline

Definition at line 57 of file MaintenanceTask.h.

bool Hypertable::MaintenanceTask::retry ( )
inline

Definition at line 54 of file MaintenanceTask.h.

void Hypertable::MaintenanceTask::set_priority ( int  p)
inline

Definition at line 61 of file MaintenanceTask.h.

void Hypertable::MaintenanceTask::set_retry ( bool  retry)
inline

Definition at line 55 of file MaintenanceTask.h.

void Hypertable::MaintenanceTask::set_retry_delay ( uint32_t  delay)
inline

Definition at line 58 of file MaintenanceTask.h.

Member Data Documentation

uint32_t Hypertable::MaintenanceTask::level

Definition at line 70 of file MaintenanceTask.h.

String Hypertable::MaintenanceTask::m_description
private

Definition at line 80 of file MaintenanceTask.h.

MaintenanceFlag::Map Hypertable::MaintenanceTask::m_map
protected

Definition at line 75 of file MaintenanceTask.h.

RangePtr Hypertable::MaintenanceTask::m_range
protected

Definition at line 74 of file MaintenanceTask.h.

bool Hypertable::MaintenanceTask::m_retry {}
private

Definition at line 78 of file MaintenanceTask.h.

uint32_t Hypertable::MaintenanceTask::m_retry_delay_millis
private

Definition at line 79 of file MaintenanceTask.h.

int Hypertable::MaintenanceTask::priority

Definition at line 71 of file MaintenanceTask.h.

std::chrono::time_point<std::chrono::steady_clock> Hypertable::MaintenanceTask::start_time

Definition at line 69 of file MaintenanceTask.h.


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