#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 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(), FastSiPixelFEDChannelContainerFromQuality::analyze(), cond::persistency::TransactionScope::commit(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), popcon::PopCon::finalize(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), LHCInfoPerLSPopConSourceHandler::getNewObjects(), LHCInfoPerFillPopConSourceHandler::getNewObjects(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), l1t::DataWriter::readObject(), l1t::DataWriterExt::readObject(), l1t::WriterProxyT< Record, Type >::save(), querying.connection::write_and_commit(), l1t::DataWriterExt::writeKeyList(), 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 l1t::WriterProxyT< Record, Type >::save(), cond::persistency::TransactionScope::TransactionScope(), l1t::DataWriterExt::writeKeyList(), and cond::persistency::TransactionScope::~TransactionScope().
Transaction & cond::persistency::Transaction::operator= | ( | const Transaction & | rhs | ) |
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(), FastSiPixelFEDChannelContainerFromQuality::analyze(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), LHCInfoPerLSPopConSourceHandler::getNewObjects(), LHCInfoPerFillPopConSourceHandler::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(), l1t::DataWriterExt::readObject(), l1t::WriterProxyT< Record, Type >::save(), cond::persistency::TransactionScope::start(), and l1t::DataWriterExt::writeKeyList().
|
private |
Definition at line 59 of file Session.h.
Referenced by commit(), isActive(), operator=(), rollback(), and start().