#include <BalanceAlgorithmEvenRanges.h>
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 |
Definition at line 32 of file BalanceAlgorithmEvenRanges.h.
BalanceAlgorithmEvenRanges::BalanceAlgorithmEvenRanges | ( | ContextPtr & | context, |
std::vector< RangeServerStatistics > & | statistics | ||
) |
Definition at line 150 of file BalanceAlgorithmEvenRanges.cc.
|
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.
|
private |
Definition at line 41 of file BalanceAlgorithmEvenRanges.h.
|
private |
Definition at line 42 of file BalanceAlgorithmEvenRanges.h.