#include <Session.h>
Public Member Functions | |
void | close () |
void | commit () |
void | start (bool readOnly=true) |
TransactionScope (Transaction &transaction) | |
~TransactionScope () | |
Private Attributes | |
bool | m_status |
Transaction & | m_transaction |
|
explicit |
Definition at line 237 of file Session.cc.
References cond::persistency::Transaction::isActive(), m_status, and m_transaction.
cond::persistency::TransactionScope::~TransactionScope | ( | ) |
Definition at line 242 of file Session.cc.
References cond::persistency::Transaction::isActive(), m_status, m_transaction, and cond::persistency::Transaction::rollback().
void cond::persistency::TransactionScope::close | ( | void | ) |
Definition at line 258 of file Session.cc.
References m_status.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.FDJsonServer::handle_close(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), and Vispa.Gui.FindDialog.FindDialog::keyPressEvent().
void cond::persistency::TransactionScope::commit | ( | ) |
Definition at line 253 of file Session.cc.
References cond::persistency::Transaction::commit(), m_status, and m_transaction.
Referenced by querying.connection::write_and_commit().
void cond::persistency::TransactionScope::start | ( | bool | readOnly = true | ) |
Definition at line 248 of file Session.cc.
References m_status, m_transaction, and cond::persistency::Transaction::start().
Referenced by progressbar.ProgressBar::__next__(), cond::persistency::copyIov(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::persistency::importIovs(), and cond::service::PoolDBOutputService::initDB().
|
private |
Definition at line 245 of file Session.h.
Referenced by close(), commit(), start(), TransactionScope(), and ~TransactionScope().
|
private |
Definition at line 244 of file Session.h.
Referenced by commit(), start(), TransactionScope(), and ~TransactionScope().