#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(), SiStripDetVOffTrendPlotter::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), cond::persistency::TransactionScope::commit(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), popcon::PopCon::finalize(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), cond::service::PoolDBOutputService::postEndJob(), cond::payloadInspector::PlotBase::process(), L1ConfigOnlineProdBaseExt< TRcd, TData >::produce(), L1ConfigOnlineProdBase< TRcd, TData >::produce(), 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::service::PoolDBOutputService::~PoolDBOutputService(), 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(), SiStripDetVOffTrendPlotter::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::persistency::PayloadReader::fetch(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), popcon::PopCon::initialize(), cond::persistency::KeyList::load(), cond::persistency::BasePayloadProxy::loadTag(), l1t::OMDSReader::OMDSReader(), l1t::DataWriterExt::payloadToken(), l1t::DataWriter::payloadToken(), cond::payloadInspector::PlotBase::process(), L1ConfigOnlineProdBaseExt< TRcd, TData >::produce(), L1ConfigOnlineProdBase< TRcd, TData >::produce(), L1RCTOmdsFedVectorProducer::produce(), popcon::RPCEMapSourceHandler::readEMap1(), popcon::L1RPCHwConfigSourceHandler::readHwConfig1(), l1t::DataWriter::readObject(), cond::persistency::BasePayloadProxy::setIntervalFor(), and cond::persistency::TransactionScope::start().
|
private |
Definition at line 58 of file Session.h.
Referenced by commit(), isActive(), operator=(), rollback(), and start().