#include <Session.h>
Public Member Functions | |
void | commit () |
bool | isActive () |
Transaction & | operator= (const Transaction &rhs) |
void | rollback () |
void | start (bool readOnly=true) |
Transaction (SessionImpl &session) | |
Transaction (const Transaction &rhs) | |
Private Attributes | |
SessionImpl * | m_session |
|
explicit |
Definition at line 9 of file Session.cc.
cond::persistency::Transaction::Transaction | ( | const Transaction & | rhs | ) |
Definition at line 13 of file Session.cc.
void cond::persistency::Transaction::commit | ( | ) |
Definition at line 26 of file Session.cc.
References cond::persistency::SessionImpl::commitTransaction(), and m_session.
Referenced by cond::persistency::TransactionScope::commit(), CondDBESSource::fillTagCollectionFromGT(), DTUserKeyedConfigHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::DataWriter::payloadToken(), l1t::DataWriter::readObject(), and cond::persistency::BasePayloadProxy::setIntervalFor().
bool cond::persistency::Transaction::isActive | ( | ) |
Definition at line 34 of file Session.cc.
References cond::persistency::SessionImpl::isTransactionActive(), and m_session.
Referenced by cond::persistency::TransactionScope::TransactionScope(), and cond::persistency::TransactionScope::~TransactionScope().
Transaction & cond::persistency::Transaction::operator= | ( | const Transaction & | rhs | ) |
void cond::persistency::Transaction::rollback | ( | ) |
Definition at line 30 of file Session.cc.
References m_session, and cond::persistency::SessionImpl::rollbackTransaction().
Referenced by cond::persistency::TransactionScope::~TransactionScope().
void cond::persistency::Transaction::start | ( | bool | readOnly = true | ) |
Definition at line 22 of file Session.cc.
References m_session, and cond::persistency::SessionImpl::startTransaction().
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), CondDBESSource::fillTagCollectionFromGT(), DTUserKeyedConfigHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::DataWriter::payloadToken(), l1t::DataWriter::readObject(), cond::persistency::BasePayloadProxy::setIntervalFor(), and cond::persistency::TransactionScope::start().
|
private |
Definition at line 55 of file Session.h.
Referenced by commit(), isActive(), operator=(), rollback(), and start().