0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Hypertable::LoadMetricsRange Class Reference

#include <LoadMetricsRange.h>

Collaboration diagram for Hypertable::LoadMetricsRange:
Collaboration graph
[legend]

Public Member Functions

 LoadMetricsRange (const String &table_id, const String &start_row, const String &end_row)
 
void change_rows (const String &start_row, const String &end_row)
 
void compute_and_store (TableMutator *mutator, time_t now, LoadFactors &load_factors, uint64_t disk_used, uint64_t memory_used, double compression_ratio)
 Value format for version 1: More...
 

Private Member Functions

void initialize (const String &table_id, const String &start_row, const String &end_row)
 

Private Attributes

std::mutex m_mutex
 
DynamicBuffer m_buffer
 
const char * m_table_id
 
const char * m_start_row
 
const char * m_end_row
 
String m_new_start_row
 
String m_new_end_row
 
bool m_new_rows
 
time_t m_timestamp
 
LoadFactors m_load_factors
 

Detailed Description

Definition at line 36 of file LoadMetricsRange.h.

Constructor & Destructor Documentation

LoadMetricsRange::LoadMetricsRange ( const String table_id,
const String start_row,
const String end_row 
)

Definition at line 34 of file LoadMetricsRange.cc.

Member Function Documentation

void Hypertable::LoadMetricsRange::change_rows ( const String start_row,
const String end_row 
)
inline

Definition at line 40 of file LoadMetricsRange.h.

void LoadMetricsRange::compute_and_store ( TableMutator mutator,
time_t  now,
LoadFactors load_factors,
uint64_t  disk_used,
uint64_t  memory_used,
double  compression_ratio 
)

Value format for version 1:

* v2:<ts>,<disk>,<memory>,<disk-bytes-read-rate>,<byte-write-rate>,<byte-read-rate>,<update-rate>,<scan-rate>,<cell-write-rate>,<cell-read-rate>
* 

Definition at line 48 of file LoadMetricsRange.cc.

void LoadMetricsRange::initialize ( const String table_id,
const String start_row,
const String end_row 
)
private

Definition at line 137 of file LoadMetricsRange.cc.

Member Data Documentation

DynamicBuffer Hypertable::LoadMetricsRange::m_buffer
private

Definition at line 57 of file LoadMetricsRange.h.

const char* Hypertable::LoadMetricsRange::m_end_row
private

Definition at line 60 of file LoadMetricsRange.h.

LoadFactors Hypertable::LoadMetricsRange::m_load_factors
private

Definition at line 65 of file LoadMetricsRange.h.

std::mutex Hypertable::LoadMetricsRange::m_mutex
private

Definition at line 56 of file LoadMetricsRange.h.

String Hypertable::LoadMetricsRange::m_new_end_row
private

Definition at line 62 of file LoadMetricsRange.h.

bool Hypertable::LoadMetricsRange::m_new_rows
private

Definition at line 63 of file LoadMetricsRange.h.

String Hypertable::LoadMetricsRange::m_new_start_row
private

Definition at line 61 of file LoadMetricsRange.h.

const char* Hypertable::LoadMetricsRange::m_start_row
private

Definition at line 59 of file LoadMetricsRange.h.

const char* Hypertable::LoadMetricsRange::m_table_id
private

Definition at line 58 of file LoadMetricsRange.h.

time_t Hypertable::LoadMetricsRange::m_timestamp
private

Definition at line 64 of file LoadMetricsRange.h.


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