#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 SiStripDetVOffHandler::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), SiStripDetVOffTrendPlotter::analyze(), cond::persistency::TransactionScope::commit(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), popcon::PopCon::finalize(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), l1t::DataWriter::readObject(), cond::persistency::BasePayloadProxy::setIntervalFor(), querying.connection::write_and_commit(), and popcon::PopCon::~PopCon().
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::copyTag(), and 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__(), SiStripDetVOffHandler::analyze(), SiStripDetVOffTkMapPlotter::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), SiStripDetVOffTrendPlotter::analyze(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), popcon::PopCon::initialize(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::OMDSReader::OMDSReader(), l1t::DataWriterExt::payloadToken(), 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().