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::BalanceAlgorithmEvenRanges Class Reference

#include <BalanceAlgorithmEvenRanges.h>

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

Public Member Functions

 BalanceAlgorithmEvenRanges (ContextPtr &context, std::vector< RangeServerStatistics > &statistics)
 
virtual void compute_plan (BalancePlanPtr &plan, std::vector< RangeServerConnectionPtr > &balanced)
 

Private Attributes

ContextPtr m_context
 
std::vector
< RangeServerStatistics
m_statistics
 

Detailed Description

Definition at line 32 of file BalanceAlgorithmEvenRanges.h.

Constructor & Destructor Documentation

BalanceAlgorithmEvenRanges::BalanceAlgorithmEvenRanges ( ContextPtr context,
std::vector< RangeServerStatistics > &  statistics 
)

Definition at line 150 of file BalanceAlgorithmEvenRanges.cc.

Member Function Documentation

void BalanceAlgorithmEvenRanges::compute_plan ( BalancePlanPtr plan,
std::vector< RangeServerConnectionPtr > &  balanced 
)
virtual

Populate the 'balanced' vector with the participants that are not balanced

Now scan thru METADATA Location and StartRow and come up with balance plan

Implements Hypertable::BalanceAlgorithm.

Definition at line 157 of file BalanceAlgorithmEvenRanges.cc.

Member Data Documentation

ContextPtr Hypertable::BalanceAlgorithmEvenRanges::m_context
private

Definition at line 41 of file BalanceAlgorithmEvenRanges.h.

std::vector<RangeServerStatistics> Hypertable::BalanceAlgorithmEvenRanges::m_statistics
private

Definition at line 42 of file BalanceAlgorithmEvenRanges.h.


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