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

#include <BalanceAlgorithmOffload.h>

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

Public Member Functions

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

Private Attributes

ContextPtr m_context
 
std::vector
< RangeServerStatistics
m_statistics
 
std::set< Stringm_offload_servers
 

Detailed Description

Definition at line 33 of file BalanceAlgorithmOffload.h.

Constructor & Destructor Documentation

BalanceAlgorithmOffload::BalanceAlgorithmOffload ( ContextPtr context,
std::vector< RangeServerStatistics > &  statistics,
String  arguments 
)

Definition at line 38 of file BalanceAlgorithmOffload.cc.

Member Function Documentation

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

Implements Hypertable::BalanceAlgorithm.

Definition at line 46 of file BalanceAlgorithmOffload.cc.

Member Data Documentation

ContextPtr Hypertable::BalanceAlgorithmOffload::m_context
private

Definition at line 44 of file BalanceAlgorithmOffload.h.

std::set<String> Hypertable::BalanceAlgorithmOffload::m_offload_servers
private

Definition at line 46 of file BalanceAlgorithmOffload.h.

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

Definition at line 45 of file BalanceAlgorithmOffload.h.


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