#include <MaintenancePrioritizerLowMemory.h>
Public Member Functions | |
virtual void | prioritize (std::vector< RangeData > &range_data, MemoryState &memory_state, int32_t priority, String *trace) |
Public Member Functions inherited from Hypertable::MaintenancePrioritizer | |
MaintenancePrioritizer () | |
Private Member Functions | |
void | assign_priorities_all (std::vector< RangeData > &range_data, CommitLogPtr &log, int64_t prune_threshold, MemoryState &memory_state, int32_t &priority, String *trace) |
Memory freeing algorithm: More... | |
void | assign_priorities_user (std::vector< RangeData > &range_data, LoadStatistics::Bundle &load_stats, MemoryState &memory_state, int32_t &priority, String *trace) |
Memory freeing algorithm: More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Hypertable::MaintenancePrioritizer | |
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 inherited from Hypertable::MaintenancePrioritizer | |
bool | m_initialization_complete |
bool | m_uninitialized_ranges_seen |
Definition at line 29 of file MaintenancePrioritizerLowMemory.h.
|
private |
Memory freeing algorithm:
Definition at line 133 of file MaintenancePrioritizerLowMemory.cc.
|
private |
Memory freeing algorithm:
if (READ heavy)
Definition at line 170 of file MaintenancePrioritizerLowMemory.cc.
|
virtual |
Assign priority for ROOT range
Assign priority for METADATA ranges
Compute prune threshold based on load activity
Assign priority for SYSTEM ranges
Assign priority for USER ranges
Implements Hypertable::MaintenancePrioritizer.
Definition at line 37 of file MaintenancePrioritizerLowMemory.cc.