Go to the SVN repository for this file.
42 #define NCBI_USE_ERRCODE_X Db_Bdb_Checkpoint 51 unsignedstop_request_poll)
54m_MempTrickle(memp_trickle),
90<< nwrotep <<
" pages");
105 string msg=
"Fatal Berkeley DB error: DB_RUNRECOVERY." 106 " Checkpoint thread has been stopped.";
116 "Checkpoint thread has been stopped (too many errors)");
119 catch(exception& ex)
130 "Checkpoint thread has been stopped (too many errors)");
Wrapper around Berkeley DB environment structure.
BDB environment object a collection including support for some or all of caching, locking,...
BDB errno exception class.
Adaptation of CThread class repeatedly running some job.
void RequestStop()
Schedule thread Stop.
CBDB_Env::TBackgroundFlags m_Flags
CBDB_CheckPointThread(CBDB_Env &env, int memp_trickle, unsigned run_delay, unsigned stop_request_poll=10)
void TransactionCheckpoint()
Flush the underlying memory pools, logs and data bases.
virtual void DoJob(void)
Payload function.
void DeadLockDetect()
Run deadlock detector.
void MempTrickle(int percent, int *nwrotep)
Ensures that a specified percent of the pages in the shared memory pool are clean,...
void SetMaxErrors(unsigned max_err)
Set maximum number of errors this thread tolerates 0 - unlimited.
bool IsTransactional() const
Return TRUE if environment has been open as transactional.
bool IsRecovery() const
If it is DB_RUNRECOVERY error.
@ eBackground_DeadLockDetect
@ eBackground_MempTrickle
#define LOG_POST_X(err_subcode, message)
#define ERR_POST_X(err_subcode, message)
Error posting with default error code and given error subcode.
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Error(CExceptionArgs_Base &args)
void Info(CExceptionArgs_Base &args)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition of all error codes used in bdb library (bdb.lib and ncbi_xcache_bdb.lib).
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4