#include <Session.h>
Public Member Functions | |
void | commit () |
bool | isActive () |
Transaction & | operator= (const Transaction &rhs) |
void | rollback () |
void | start (bool readOnly=true) |
Transaction (const Transaction &rhs) | |
Transaction (SessionImpl &session) | |
Private Attributes | |
SessionImpl * | m_session |
|
explicit |
Definition at line 9 of file Session.cc.
cond::persistency::Transaction::Transaction | ( | const Transaction & | rhs | ) |
Definition at line 11 of file Session.cc.
void cond::persistency::Transaction::commit | ( | ) |
Definition at line 23 of file Session.cc.
References cond::persistency::SessionImpl::commitTransaction(), and m_session.
Referenced by SiStripDetVOffHandler::analyze(), SiStripDetVOffPrinter::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), SiStripDetVOffTrendPlotter::analyze(), BeamSpotRcdPrinter::analyze(), cond::persistency::TransactionScope::commit(), cond::payloadInspector::PlotBase::exec_process(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), popcon::PopCon::finalize(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), l1t::DataWriter::readObject(), querying.connection::write_and_commit(), and popcon::PopCon::~PopCon().
bool cond::persistency::Transaction::isActive | ( | ) |
Definition at line 33 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 | ) |
Definition at line 13 of file Session.cc.
References m_session.
void cond::persistency::Transaction::rollback | ( | ) |
Definition at line 28 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 18 of file Session.cc.
References m_session, and cond::persistency::SessionImpl::startTransaction().
Referenced by progressbar.ProgressBar::__next__(), SiStripDetVOffHandler::analyze(), SiStripDetVOffTkMapPlotter::analyze(), SiStripDetVOffPrinter::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), SiStripDetVOffTrendPlotter::analyze(), BeamSpotRcdPrinter::analyze(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::payloadInspector::PlotBase::exec_process(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), popcon::PopCon::initialize(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::OMDSReader::OMDSReader(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), L1RCTOmdsFedVectorProducer::produce(), l1t::DataWriter::readObject(), and cond::persistency::TransactionScope::start().
|
private |
Definition at line 59 of file Session.h.
Referenced by commit(), isActive(), operator=(), rollback(), and start().