0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hyperspace::BDbTxn Class Reference

Manages transaction state. More...

#include <BerkeleyDbFilesystem.h>

Public Member Functions

 BDbTxn ()
 Constructor. More...
 
void commit (int flag=0)
 Commit transaction. More...
 
void abort ()
 Abort transaction. More...
 

Public Attributes

Db * handle_namespace_db
 Filesystem namespace database handle. More...
 
Db * handle_state_db
 Transient state database handle. More...
 
DbTxn * db_txn
 BerkeleyDB transaction object. More...
 

Detailed Description

Manages transaction state.

Definition at line 182 of file BerkeleyDbFilesystem.h.

Constructor & Destructor Documentation

Hyperspace::BDbTxn::BDbTxn ( )
inline

Constructor.

Definition at line 185 of file BerkeleyDbFilesystem.h.

Member Function Documentation

void Hyperspace::BDbTxn::abort ( )
inline

Abort transaction.

Definition at line 196 of file BerkeleyDbFilesystem.h.

void Hyperspace::BDbTxn::commit ( int  flag = 0)
inline

Commit transaction.

Parameters
flagBerkeleyDB commit flags

Definition at line 190 of file BerkeleyDbFilesystem.h.

Member Data Documentation

DbTxn* Hyperspace::BDbTxn::db_txn

BerkeleyDB transaction object.

Definition at line 208 of file BerkeleyDbFilesystem.h.

Db* Hyperspace::BDbTxn::handle_namespace_db

Filesystem namespace database handle.

Definition at line 202 of file BerkeleyDbFilesystem.h.

Db* Hyperspace::BDbTxn::handle_state_db

Transient state database handle.

Definition at line 205 of file BerkeleyDbFilesystem.h.


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