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

#include <MaintenancePrioritizer.h>

Inheritance diagram for Hypertable::MaintenancePrioritizer:
Inheritance graph
[legend]

Classes

class  MemoryState
 

Public Member Functions

 MaintenancePrioritizer ()
 
virtual void prioritize (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t priority, String *trace)=0
 

Protected Member Functions

void schedule_initialization_operations (std::vector< RangeData > &range_data, int32_t &priority)
 
bool schedule_inprogress_operations (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t &priority, String *trace)
 
bool schedule_splits_and_relinquishes (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t &priority, String *trace)
 
bool schedule_necessary_compactions (std::vector< RangeData > &range_data, CommitLogPtr &log, int64_t prune_threshold, MemoryState &memory_state, int32_t &priority, String *trace)
 
bool purge_shadow_caches (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t &priority, String *trace)
 
bool purge_cellstore_indexes (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t &priority, String *trace)
 
bool compact_cellcaches (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t &priority, String *trace)
 

Protected Attributes

bool m_initialization_complete
 
bool m_uninitialized_ranges_seen
 

Detailed Description

Definition at line 32 of file MaintenancePrioritizer.h.

Constructor & Destructor Documentation

Hypertable::MaintenancePrioritizer::MaintenancePrioritizer ( )
inline

Definition at line 50 of file MaintenancePrioritizer.h.

Member Function Documentation

bool MaintenancePrioritizer::compact_cellcaches ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 496 of file MaintenancePrioritizer.cc.

virtual void Hypertable::MaintenancePrioritizer::prioritize ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t  priority,
String trace 
)
pure virtual
bool MaintenancePrioritizer::purge_cellstore_indexes ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 431 of file MaintenancePrioritizer.cc.

bool MaintenancePrioritizer::purge_shadow_caches ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 381 of file MaintenancePrioritizer.cc.

void MaintenancePrioritizer::schedule_initialization_operations ( std::vector< RangeData > &  range_data,
int32_t &  priority 
)
protected

Definition at line 89 of file MaintenancePrioritizer.cc.

bool MaintenancePrioritizer::schedule_inprogress_operations ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 107 of file MaintenancePrioritizer.cc.

bool MaintenancePrioritizer::schedule_necessary_compactions ( std::vector< RangeData > &  range_data,
CommitLogPtr log,
int64_t  prune_threshold,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 228 of file MaintenancePrioritizer.cc.

bool MaintenancePrioritizer::schedule_splits_and_relinquishes ( std::vector< RangeData > &  range_data,
MemoryState memory_state,
int32_t &  priority,
String trace 
)
protected

Definition at line 168 of file MaintenancePrioritizer.cc.

Member Data Documentation

bool Hypertable::MaintenancePrioritizer::m_initialization_complete
protected

Definition at line 58 of file MaintenancePrioritizer.h.

bool Hypertable::MaintenancePrioritizer::m_uninitialized_ranges_seen
protected

Definition at line 59 of file MaintenancePrioritizer.h.


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