

Definition at line 81 of file contractadmin-server.h.
| WriteSession::WriteSession | ( | bool | noWait | ) | [inline] |
Definition at line 82 of file contractadmin-server.h.
| WriteSession::~WriteSession | ( | ) |
| WriteSession::WriteSession | ( | ) |
| WriteSession::WriteSession | ( | bool | noWait | ) |
Constructor: locks the mutex.
| noWait | Don't wait for database locks? |
| WriteSession::~WriteSession | ( | ) |
Destructor.
It rolls back if dirty_ is set.
| void WriteSession::commit | ( | ) |
Commit transactions: clears dirty_.
| void WriteSession::commit | ( | ) |
| OSB_DB::Session& WriteSession::get | ( | ) |
| OSB_DB::Session& WriteSession::get | ( | ) | [inline] |
Reimplemented from SessionGuardBase.
Definition at line 92 of file contractadmin-server.h.
References dirty_, and SessionGuardBase::get().
| const OSB_DB::Session& WriteSession::getConst | ( | ) |
Const access to the database, dirty_ is not modified.
| const OSB_DB::Session& WriteSession::getConst | ( | ) | [inline] |
| void WriteSession::lock | ( | bool | noWait | ) |
Lock the database session.
| noWait | Don't wait for database locks? |
| OsbException | if the lock can not be aquired. |
Reimplemented from SessionGuardBase.
| bool WriteSession::locked | ( | ) | const |
| void WriteSession::rollback | ( | ) |
Roll back transactions: clears dirty_.
| void WriteSession::rollback | ( | ) |
bool WriteSession::dirty_ [private] |
Database session used via get()?
Definition at line 100 of file contractadmin-server.h.
Referenced by get().
1.4.7