#include <DbTransaction.h>
Public Member Functions | |
int | commit () |
commit transaction. More... | |
DbTransaction (ora::Transaction &dbTrans) | |
bool | forceCommit () |
force the commit, regardless to the transaction clients More... | |
int | isActive () const |
current transaction is active More... | |
bool | isReadOnly () const |
current transaction is readonly More... | |
bool | rollback () |
rollback transaction More... | |
int | start (bool readOnly=false) |
start transaction More... | |
~DbTransaction () | |
Private Attributes | |
int | m_clients |
ora::Transaction & | m_dbTrans |
bool | m_readOnly |
Definition at line 19 of file DbTransaction.h.
DbTransaction::DbTransaction | ( | ora::Transaction & | dbTrans | ) |
Definition at line 8 of file DbTransaction.cc.
DbTransaction::~DbTransaction | ( | ) |
Definition at line 12 of file DbTransaction.cc.
int DbTransaction::commit | ( | ) |
commit transaction.
Definition at line 28 of file DbTransaction.cc.
Referenced by cond::BasePayloadProxy::BasePayloadProxy(), cond::CondDB::commitTransaction(), cond::ExportIOVUtilities::execute(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::RDBMS::globalTag(), cond::KeyList::load(), cond::BasePayloadProxy::loadIov(), cond::BasePayloadProxy::loadTag(), cond::BasePayloadProxy::make(), and cond::BasePayloadProxy::refresh().
bool DbTransaction::forceCommit | ( | ) |
force the commit, regardless to the transaction clients
Definition at line 39 of file DbTransaction.cc.
int DbTransaction::isActive | ( | ) | const |
current transaction is active
Definition at line 59 of file DbTransaction.cc.
bool DbTransaction::isReadOnly | ( | ) | const |
current transaction is readonly
Definition at line 64 of file DbTransaction.cc.
bool DbTransaction::rollback | ( | ) |
int DbTransaction::start | ( | bool | readOnly = false | ) |
start transaction
Definition at line 16 of file DbTransaction.cc.
Referenced by progressbar.ProgressBar::__next__(), cond::BasePayloadProxy::BasePayloadProxy(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::ExportIOVUtilities::execute(), cond::AlignSplitIOV::execute(), CondDBESSource::fillTagCollectionFromGT(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::RDBMS::globalTag(), cond::KeyList::load(), cond::BasePayloadProxy::loadIov(), cond::BasePayloadProxy::loadTag(), cond::BasePayloadProxy::make(), l1t::OMDSReader::OMDSReader(), cond::PayLoadInspector< DataT >::plot(), cond::BasePayloadProxy::refresh(), cond::CondDB::startReadOnlyTransaction(), cond::CondDB::startTransaction(), cond::PayLoadInspector< DataT >::summary(), and cond::PayLoadInspector< DataT >::trend_plot().
|
private |
Definition at line 40 of file DbTransaction.h.
|
private |
Definition at line 38 of file DbTransaction.h.
|
private |
Definition at line 39 of file DbTransaction.h.