OpenSDN source code
GenDb::IfErrors Class Reference

#include <gendb_statistics.h>

Public Types

enum  Type {
  ERR_NO_ERROR , ERR_WRITE_TABLESPACE , ERR_READ_TABLESPACE , ERR_WRITE_COLUMN_FAMILY ,
  ERR_READ_COLUMN_FAMILY , ERR_WRITE_COLUMN , ERR_WRITE_BATCH_COLUMN , ERR_READ_COLUMN
}
 

Public Member Functions

 IfErrors ()
 
void GetDiffs (GenDb::DbErrors *dbe)
 
void GetCumulative (GenDb::DbErrors *dbe) const
 
void Clear ()
 
void Increment (Type type)
 

Private Member Functions

void GetInternal (GenDb::DbErrors *dbe) const
 

Private Attributes

uint64_t write_tablespace_fails_
 
uint64_t read_tablespace_fails_
 
uint64_t write_column_family_fails_
 
uint64_t read_column_family_fails_
 
uint64_t write_column_fails_
 
uint64_t write_batch_column_fails_
 
uint64_t read_column_fails_
 

Detailed Description

Definition at line 50 of file gendb_statistics.h.

Member Enumeration Documentation

◆ Type

Enumerator
ERR_NO_ERROR 
ERR_WRITE_TABLESPACE 
ERR_READ_TABLESPACE 
ERR_WRITE_COLUMN_FAMILY 
ERR_READ_COLUMN_FAMILY 
ERR_WRITE_COLUMN 
ERR_WRITE_BATCH_COLUMN 
ERR_READ_COLUMN 

Definition at line 61 of file gendb_statistics.h.

Constructor & Destructor Documentation

◆ IfErrors()

GenDb::IfErrors::IfErrors ( )
inline

Definition at line 52 of file gendb_statistics.h.

Member Function Documentation

◆ Clear()

void GenDb::IfErrors::Clear ( )

Definition at line 95 of file gendb_statistics.cc.

◆ GetCumulative()

void GenDb::IfErrors::GetCumulative ( GenDb::DbErrors *  dbe) const

Definition at line 110 of file gendb_statistics.cc.

Here is the call graph for this function:

◆ GetDiffs()

void GenDb::IfErrors::GetDiffs ( GenDb::DbErrors *  dbe)

Definition at line 105 of file gendb_statistics.cc.

Here is the call graph for this function:

◆ GetInternal()

void GenDb::IfErrors::GetInternal ( GenDb::DbErrors *  dbe) const
private

Definition at line 85 of file gendb_statistics.cc.

◆ Increment()

void GenDb::IfErrors::Increment ( IfErrors::Type  type)

Definition at line 115 of file gendb_statistics.cc.

Member Data Documentation

◆ read_column_fails_

uint64_t GenDb::IfErrors::read_column_fails_
private

Definition at line 83 of file gendb_statistics.h.

◆ read_column_family_fails_

uint64_t GenDb::IfErrors::read_column_family_fails_
private

Definition at line 80 of file gendb_statistics.h.

◆ read_tablespace_fails_

uint64_t GenDb::IfErrors::read_tablespace_fails_
private

Definition at line 78 of file gendb_statistics.h.

◆ write_batch_column_fails_

uint64_t GenDb::IfErrors::write_batch_column_fails_
private

Definition at line 82 of file gendb_statistics.h.

◆ write_column_fails_

uint64_t GenDb::IfErrors::write_column_fails_
private

Definition at line 81 of file gendb_statistics.h.

◆ write_column_family_fails_

uint64_t GenDb::IfErrors::write_column_family_fails_
private

Definition at line 79 of file gendb_statistics.h.

◆ write_tablespace_fails_

uint64_t GenDb::IfErrors::write_tablespace_fails_
private

Definition at line 77 of file gendb_statistics.h.


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