#include <gendb_statistics.h>
Definition at line 87 of file gendb_statistics.h.
◆ TableOp
Enumerator |
---|
TABLE_OP_NONE | |
TABLE_OP_WRITE | |
TABLE_OP_WRITE_FAIL | |
TABLE_OP_WRITE_BACK_PRESSURE_FAIL | |
TABLE_OP_READ | |
TABLE_OP_READ_FAIL | |
Definition at line 91 of file gendb_statistics.h.
◆ GenDbIfStats()
GenDb::GenDbIfStats::GenDbIfStats |
( |
| ) |
|
|
inline |
◆ GetCumulative()
void GenDb::GenDbIfStats::GetCumulative |
( |
std::vector< GenDb::DbTableInfo > * |
vdbti, |
|
|
GenDb::DbErrors * |
dbe |
|
) |
| const |
◆ GetDiffs()
void GenDb::GenDbIfStats::GetDiffs |
( |
std::vector< GenDb::DbTableInfo > * |
vdbti, |
|
|
GenDb::DbErrors * |
dbe |
|
) |
| |
◆ IncrementErrors()
◆ IncrementTableRead() [1/2]
void GenDb::GenDbIfStats::IncrementTableRead |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableRead() [2/2]
void GenDb::GenDbIfStats::IncrementTableRead |
( |
const std::string & |
table_name, |
|
|
uint64_t |
num_reads |
|
) |
| |
◆ IncrementTableReadBackPressureFail()
void GenDb::GenDbIfStats::IncrementTableReadBackPressureFail |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableReadFail() [1/2]
void GenDb::GenDbIfStats::IncrementTableReadFail |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableReadFail() [2/2]
void GenDb::GenDbIfStats::IncrementTableReadFail |
( |
const std::string & |
table_name, |
|
|
uint64_t |
num_reads |
|
) |
| |
◆ IncrementTableStats()
void GenDb::GenDbIfStats::IncrementTableStats |
( |
GenDbIfStats::TableOp |
op, |
|
|
const std::string & |
table_name |
|
) |
| |
◆ IncrementTableStatsInternal()
void GenDb::GenDbIfStats::IncrementTableStatsInternal |
( |
const std::string & |
table_name, |
|
|
bool |
write, |
|
|
bool |
fail, |
|
|
bool |
back_pressure, |
|
|
uint64_t |
num |
|
) |
| |
|
private |
◆ IncrementTableWrite() [1/2]
void GenDb::GenDbIfStats::IncrementTableWrite |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableWrite() [2/2]
void GenDb::GenDbIfStats::IncrementTableWrite |
( |
const std::string & |
table_name, |
|
|
uint64_t |
num_writes |
|
) |
| |
◆ IncrementTableWriteBackPressureFail()
void GenDb::GenDbIfStats::IncrementTableWriteBackPressureFail |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableWriteFail() [1/2]
void GenDb::GenDbIfStats::IncrementTableWriteFail |
( |
const std::string & |
table_name | ) |
|
◆ IncrementTableWriteFail() [2/2]
void GenDb::GenDbIfStats::IncrementTableWriteFail |
( |
const std::string & |
table_name, |
|
|
uint64_t |
num_writes |
|
) |
| |
◆ cumulative_errors_
IfErrors GenDb::GenDbIfStats::cumulative_errors_ |
|
private |
◆ errors_
◆ table_stats_
The documentation for this class was generated from the following files: