Go to the SVN repository for this file.
89ETransSync tsync = eEnvDefault,
90EKeepFileAssociation assoc = eFullAssociation);
152 voidx_Abort(
boolignore_errors);
155 voidx_DetachFromFiles();
BDB environment object a collection including support for some or all of caching, locking,...
Raw file class wraps up basic Berkeley DB operations.
Registration of transactional objects.
Interface for transactional objects.
ETransSync
Enum controls if transaction is synchronous or not.
virtual void Rollback()
Rollback transaction (same as Abort)
vector< ITransactional * > TTransVector
Transaction association list.
EKeepFileAssociation m_Assoc
Association flag.
EKeepFileAssociation GetAssociationMode() const
Transaction file association mode.
bool IsInProgress() const
Return TRUE if transaction handle has been requested by some client (File)
CBDB_Transaction & operator=(const CBDB_Transaction &trans)
DB_TXN * m_Txn
Transaction handle.
TTransVector m_TransFiles
Files connected to transaction.
CBDB_Transaction(const CBDB_Transaction &trans)
EKeepFileAssociation
When file is connected to transaction using CBDB_File::SetTransaction() class by default keeps track ...
ETransSync m_TSync
Sync. flag.
CBDB_Env & m_Env
Associated environment.
@ eEnvDefault
Use default from CBDB_Env.
@ eTransSync
Syncronous transaction.
@ eFullAssociation
Transaction associated with files.
NCBI_XNCBI_EXPORT void Abort(void)
Smart abort function.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual void Commit()=0
Commit transaction.
virtual void Remove(ITransactional *)=0
Forget the transactional object.
virtual void Add(ITransactional *)=0
Register transactional object.
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