0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Typedefs | Functions
ht_balance_plan_generator.cc File Reference
#include <Common/Compat.h>
#include <Hypertable/Master/BalanceAlgorithmLoad.h>
#include <Hypertable/Lib/Config.h>
#include <Hypertable/Lib/Client.h>
#include <Hypertable/Lib/BalancePlan.h>
#include <Hyperspace/Session.h>
#include <Common/Init.h>
#include <Common/Error.h>
#include <Common/System.h>
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <poll.h>
#include <stdio.h>
Include dependency graph for ht_balance_plan_generator.cc:

Go to the source code of this file.

Typedefs

typedef Meta::list< AppPolicy,
DefaultCommPolicy
Policies
 

Functions

void generate_balance_plan (PropertiesPtr &props, const String &load_balancer, ContextPtr &context, BalancePlanPtr &plan)
 
void create_table (String &ns, String &tablename, String &rs_metrics_file)
 
int main (int argc, char **argv)
 

Typedef Documentation

typedef Meta::list<AppPolicy, DefaultCommPolicy> Policies

Definition at line 88 of file ht_balance_plan_generator.cc.

Function Documentation

void create_table ( String ns,
String tablename,
String rs_metrics_file 
)

Definition at line 179 of file ht_balance_plan_generator.cc.

void generate_balance_plan ( PropertiesPtr props,
const String load_balancer,
ContextPtr context,
BalancePlanPtr plan 
)

Definition at line 162 of file ht_balance_plan_generator.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 94 of file ht_balance_plan_generator.cc.