![]() |
![]() |
#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 18 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::CondDB::allTags(), DTLVStatusHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::CondDB::iovToken(), cond::KeyList::load(), cond::BasePayloadProxy::make(), cond::PayLoadInspector< DataT >::PayLoadInspector(), cond::PoolTransactionSentry::Elem::~Elem(), cond::impl::IOVImpl::~IOVImpl(), and popcon::PopConSourceHandler< T >::Ref::~Ref().
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.
Referenced by cond::impl::IOVImpl::IOVImpl().
bool DbTransaction::isReadOnly | ( | ) | const |
current transaction is readonly
Definition at line 64 of file DbTransaction.cc.
Referenced by cond::impl::IOVImpl::IOVImpl().
bool DbTransaction::rollback | ( | ) |
int DbTransaction::start | ( | bool | readOnly = false | ) |
start transaction
Definition at line 16 of file DbTransaction.cc.
Referenced by cond::CondDB::allTags(), CondDBESSource::CondDBESSource(), l1t::OMDSReader::connect(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::PoolTransactionSentry::Elem::Elem(), DTLVStatusHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::impl::IOVImpl::IOVImpl(), cond::CondDB::iovToken(), cond::KeyList::load(), cond::BasePayloadProxy::make(), l1t::OMDSReader::OMDSReader(), cond::PayLoadInspector< DataT >::PayLoadInspector(), cond::PayLoadInspector< DataT >::plot(), popcon::PopConSourceHandler< T >::Ref::Ref(), cond::PayLoadInspector< DataT >::summary(), and cond::PayLoadInspector< DataT >::trend_plot().
|
private |
Definition at line 39 of file DbTransaction.h.
|
private |
Definition at line 37 of file DbTransaction.h.
|
private |
Definition at line 38 of file DbTransaction.h.