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::Lib::RS_METRICS::RangeMetrics Class Reference

Aggregates metrics for an individual range. More...

#include <RangeMetrics.h>

Collaboration diagram for Hypertable::Lib::RS_METRICS::RangeMetrics:
Collaboration graph
[legend]

Public Member Functions

 RangeMetrics (const char *server, const char *table_id, const char *end_row)
 
void add_measurement (const char *measurement, size_t len)
 
void set_start_row (const char *start_row, size_t len)
 
void set_last_move (const char *move, size_t len)
 
const Stringget_server_id () const
 
const Stringget_table_id () const
 
const Stringget_start_row (bool *isset) const
 
const Stringget_end_row () const
 
int64_t get_last_move (bool *isset) const
 
bool is_moveable () const
 
const std::vector
< RangeMeasurement > & 
get_measurements () const
 
void get_avg_measurement (RangeMeasurement &measurement)
 

Private Attributes

std::vector< RangeMeasurementm_measurements
 
String m_server_id
 
String m_table_id
 
String m_end_row
 
String m_start_row
 
int64_t m_last_move
 
bool m_start_row_set
 
bool m_last_move_set
 

Detailed Description

Aggregates metrics for an individual range.

Definition at line 66 of file RangeMetrics.h.

Constructor & Destructor Documentation

RangeMetrics::RangeMetrics ( const char *  server,
const char *  table_id,
const char *  end_row 
)

Definition at line 87 of file RangeMetrics.cc.

Member Function Documentation

void RangeMetrics::add_measurement ( const char *  measurement,
size_t  len 
)

Definition at line 93 of file RangeMetrics.cc.

void Hypertable::Lib::RS_METRICS::RangeMetrics::get_avg_measurement ( RangeMeasurement measurement)
const String& Hypertable::Lib::RS_METRICS::RangeMetrics::get_end_row ( ) const
inline

Definition at line 83 of file RangeMetrics.h.

int64_t Hypertable::Lib::RS_METRICS::RangeMetrics::get_last_move ( bool *  isset) const
inline

Definition at line 84 of file RangeMetrics.h.

const std::vector<RangeMeasurement>& Hypertable::Lib::RS_METRICS::RangeMetrics::get_measurements ( ) const
inline

Definition at line 90 of file RangeMetrics.h.

const String& Hypertable::Lib::RS_METRICS::RangeMetrics::get_server_id ( ) const
inline

Definition at line 78 of file RangeMetrics.h.

const String& Hypertable::Lib::RS_METRICS::RangeMetrics::get_start_row ( bool *  isset) const
inline

Definition at line 80 of file RangeMetrics.h.

const String& Hypertable::Lib::RS_METRICS::RangeMetrics::get_table_id ( ) const
inline

Definition at line 79 of file RangeMetrics.h.

bool RangeMetrics::is_moveable ( ) const

Definition at line 113 of file RangeMetrics.cc.

void RangeMetrics::set_last_move ( const char *  move,
size_t  len 
)

Definition at line 107 of file RangeMetrics.cc.

void Hypertable::Lib::RS_METRICS::RangeMetrics::set_start_row ( const char *  start_row,
size_t  len 
)
inline

Definition at line 72 of file RangeMetrics.h.

Member Data Documentation

String Hypertable::Lib::RS_METRICS::RangeMetrics::m_end_row
private

Definition at line 97 of file RangeMetrics.h.

int64_t Hypertable::Lib::RS_METRICS::RangeMetrics::m_last_move
private

Definition at line 99 of file RangeMetrics.h.

bool Hypertable::Lib::RS_METRICS::RangeMetrics::m_last_move_set
private

Definition at line 101 of file RangeMetrics.h.

std::vector<RangeMeasurement> Hypertable::Lib::RS_METRICS::RangeMetrics::m_measurements
private

Definition at line 94 of file RangeMetrics.h.

String Hypertable::Lib::RS_METRICS::RangeMetrics::m_server_id
private

Definition at line 95 of file RangeMetrics.h.

String Hypertable::Lib::RS_METRICS::RangeMetrics::m_start_row
private

Definition at line 98 of file RangeMetrics.h.

bool Hypertable::Lib::RS_METRICS::RangeMetrics::m_start_row_set
private

Definition at line 100 of file RangeMetrics.h.

String Hypertable::Lib::RS_METRICS::RangeMetrics::m_table_id
private

Definition at line 96 of file RangeMetrics.h.


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