#include <connection_pool.h>
|
enum | Mode { READ
, WRITE
, WRITE_BACKUP
, NUM_MODES
} |
|
typedef bool(* | FRead) (IDbConnection *, const ISqlData *, char *pError, int ErrorSize) |
|
typedef bool(* | FWrite) (IDbConnection *, const ISqlData *, Write, char *pError, int ErrorSize) |
|
◆ FRead
typedef bool(* CDbConnectionPool::FRead) (IDbConnection *, const ISqlData *, char *pError, int ErrorSize) |
◆ FWrite
◆ Mode
Enumerator |
---|
READ | |
WRITE | |
WRITE_BACKUP | |
NUM_MODES | |
◆ CDbConnectionPool()
CDbConnectionPool::CDbConnectionPool |
( |
| ) |
|
◆ ~CDbConnectionPool()
CDbConnectionPool::~CDbConnectionPool |
( |
| ) |
|
◆ ExecSqlFunc()
◆ Execute()
void CDbConnectionPool::Execute |
( |
FRead |
pFunc, |
|
|
std::unique_ptr< const ISqlData > |
pSqlRequestData, |
|
|
const char * |
pName |
|
) |
| |
◆ ExecuteWrite()
void CDbConnectionPool::ExecuteWrite |
( |
FWrite |
pFunc, |
|
|
std::unique_ptr< const ISqlData > |
pSqlRequestData, |
|
|
const char * |
pName |
|
) |
| |
◆ OnShutdown()
void CDbConnectionPool::OnShutdown |
( |
| ) |
|
◆ operator=()
◆ Print()
void CDbConnectionPool::Print |
( |
IConsole * |
pConsole, |
|
|
Mode |
DatabaseMode |
|
) |
| |
◆ RegisterMysqlDatabase()
void CDbConnectionPool::RegisterMysqlDatabase |
( |
Mode |
DatabaseMode, |
|
|
const CMysqlConfig * |
pMysqlConfig |
|
) |
| |
◆ RegisterSqliteDatabase()
void CDbConnectionPool::RegisterSqliteDatabase |
( |
Mode |
DatabaseMode, |
|
|
const char |
FileName[64] |
|
) |
| |
◆ CBackup
◆ CWorker
◆ m_InsertIdx
int CDbConnectionPool::m_InsertIdx = 0 |
|
private |
◆ m_pBackupThread
void* CDbConnectionPool::m_pBackupThread = nullptr |
|
private |
◆ m_pShared
std::shared_ptr<CSharedData> CDbConnectionPool::m_pShared |
|
private |
◆ m_pWorkerThread
void* CDbConnectionPool::m_pWorkerThread = nullptr |
|
private |
◆ m_Shutdown
bool CDbConnectionPool::m_Shutdown = false |
|
private |
The documentation for this class was generated from the following files: