OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenDb::DbTableStatistics::TableStats Struct Reference

Public Member Functions

 TableStats ()
 
void Update (bool write, bool fail, bool back_pressure, uint64_t num)
 
void Get (const std::string &table_name, GenDb::DbTableInfo *dbti) const
 

Public Attributes

uint64_t num_reads_
 
uint64_t num_read_fails_
 
uint64_t num_writes_
 
uint64_t num_write_fails_
 
uint64_t num_write_back_pressure_fails_
 

Detailed Description

Definition at line 23 of file gendb_statistics.h.

Constructor & Destructor Documentation

GenDb::DbTableStatistics::TableStats::TableStats ( )
inline

Definition at line 24 of file gendb_statistics.h.

Member Function Documentation

void GenDb::DbTableStatistics::TableStats::Get ( const std::string &  table_name,
GenDb::DbTableInfo *  dbti 
) const

Definition at line 29 of file gendb_statistics.cc.

void GenDb::DbTableStatistics::TableStats::Update ( bool  write,
bool  fail,
bool  back_pressure,
uint64_t  num 
)

Definition at line 10 of file gendb_statistics.cc.

Member Data Documentation

uint64_t GenDb::DbTableStatistics::TableStats::num_read_fails_

Definition at line 36 of file gendb_statistics.h.

uint64_t GenDb::DbTableStatistics::TableStats::num_reads_

Definition at line 35 of file gendb_statistics.h.

uint64_t GenDb::DbTableStatistics::TableStats::num_write_back_pressure_fails_

Definition at line 39 of file gendb_statistics.h.

uint64_t GenDb::DbTableStatistics::TableStats::num_write_fails_

Definition at line 38 of file gendb_statistics.h.

uint64_t GenDb::DbTableStatistics::TableStats::num_writes_

Definition at line 37 of file gendb_statistics.h.


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