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

#include <MaintenanceTaskWorkQueue.h>

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

Public Member Functions

 MaintenanceTaskWorkQueue (uint32_t level, int priority, std::vector< MetaLog::EntityTaskPtr > &work)
 
virtual ~MaintenanceTaskWorkQueue ()
 
virtual void execute ()
 
- Public Member Functions inherited from Hypertable::MaintenanceTask
 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 ()
 
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)
 

Private Attributes

std::vector
< MetaLog::EntityTaskPtr
m_work
 
std::vector< MetaLog::EntityPtrm_completed
 

Additional Inherited Members

- Public Attributes inherited from Hypertable::MaintenanceTask
std::chrono::time_point
< std::chrono::steady_clock > 
start_time
 
uint32_t level
 
int priority
 
- Protected Attributes inherited from Hypertable::MaintenanceTask
RangePtr m_range
 
MaintenanceFlag::Map m_map
 

Detailed Description

Definition at line 30 of file MaintenanceTaskWorkQueue.h.

Constructor & Destructor Documentation

MaintenanceTaskWorkQueue::MaintenanceTaskWorkQueue ( uint32_t  level,
int  priority,
std::vector< MetaLog::EntityTaskPtr > &  work 
)

Definition at line 30 of file MaintenanceTaskWorkQueue.cc.

MaintenanceTaskWorkQueue::~MaintenanceTaskWorkQueue ( )
virtual

Definition at line 37 of file MaintenanceTaskWorkQueue.cc.

Member Function Documentation

void MaintenanceTaskWorkQueue::execute ( )
virtual

Implements Hypertable::MaintenanceTask.

Definition at line 43 of file MaintenanceTaskWorkQueue.cc.

Member Data Documentation

std::vector<MetaLog::EntityPtr> Hypertable::MaintenanceTaskWorkQueue::m_completed
private

Definition at line 38 of file MaintenanceTaskWorkQueue.h.

std::vector<MetaLog::EntityTaskPtr> Hypertable::MaintenanceTaskWorkQueue::m_work
private

Definition at line 37 of file MaintenanceTaskWorkQueue.h.


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