#include <DbConnectionConfiguration.h>
Public Member Functions | |
const std::string & | authenticationPath () const |
void | configure (coral::IConnectionServiceConfiguration &coralConfig) const |
int | connectionRetrialPeriod () const |
int | connectionRetrialTimeOut () const |
int | connectionTimeOut () const |
DbConnectionConfiguration () | |
DbConnectionConfiguration (bool connectionSharing, int connectionTimeOut, bool readOnlySessionOnUpdateConnections, int connectionRetrialPeriod, int connectionRetrialTimeOut, bool poolAutomaticCleanUp, const std::string &authenticationPath, const std::string &transactionId, coral::MsgLevel msgLev, coral::monitor::Level monitorLev, bool SQLMonitoring) | |
DbConnectionConfiguration (const DbConnectionConfiguration &rhs) | |
bool | isConnectionSharingEnabled () const |
bool | isPoolAutomaticCleanUpEnabled () const |
bool | isReadOnlySessionOnUpdateConnectionEnabled () const |
bool | isSQLMonitoringEnabled () const |
coral::MsgLevel | messageLevel () const |
DbConnectionConfiguration & | operator= (const DbConnectionConfiguration &rhs) |
void | setAuthenticationPath (const std::string &p) |
void | setAuthenticationSystem (int authSysCode) |
void | setConnectionRetrialPeriod (int period) |
void | setConnectionRetrialTimeOut (int timeout) |
void | setConnectionSharing (bool flag) |
void | setConnectionTimeOut (int timeOut) |
void | setMessageLevel (coral::MsgLevel l) |
void | setMonitoringLevel (coral::monitor::Level l) |
void | setParameters (const edm::ParameterSet &connectionPset) |
void | setPoolAutomaticCleanUp (bool flag) |
void | setReadOnlySessionOnUpdateConnections (bool flag) |
void | setSQLMonitoring (bool flag) |
void | setTransactionId (std::string const &tid) |
const std::string & | transactionId () const |
~DbConnectionConfiguration () | |
Static Public Member Functions | |
static const std::vector < DbConnectionConfiguration > & | defaultConfigurations () |
Private Attributes | |
std::string | m_authPath |
int | m_authSys |
std::pair< bool, int > | m_connectionRetrialPeriod |
std::pair< bool, int > | m_connectionRetrialTimeOut |
std::pair< bool, bool > | m_connectionSharing |
std::pair< bool, int > | m_connectionTimeOut |
coral::MsgLevel | m_messageLevel |
coral::monitor::Level | m_monitoringLevel |
CoralServiceManager * | m_pluginManager |
std::pair< bool, bool > | m_poolAutomaticCleanUp |
std::pair< bool, bool > | m_readOnlySessionOnUpdateConnections |
bool | m_SQLMonitoring |
std::string | m_transactionId |
Definition at line 32 of file DbConnectionConfiguration.h.
cond::DbConnectionConfiguration::DbConnectionConfiguration | ( | ) |
Definition at line 28 of file DbConnectionConfiguration.cc.
cond::DbConnectionConfiguration::DbConnectionConfiguration | ( | bool | connectionSharing, |
int | connectionTimeOut, | ||
bool | readOnlySessionOnUpdateConnections, | ||
int | connectionRetrialPeriod, | ||
int | connectionRetrialTimeOut, | ||
bool | poolAutomaticCleanUp, | ||
const std::string & | authenticationPath, | ||
const std::string & | transactionId, | ||
coral::MsgLevel | msgLev, | ||
coral::monitor::Level | monitorLev, | ||
bool | SQLMonitoring | ||
) |
cond::DbConnectionConfiguration::DbConnectionConfiguration | ( | const DbConnectionConfiguration & | rhs | ) |
Definition at line 70 of file DbConnectionConfiguration.cc.
cond::DbConnectionConfiguration::~DbConnectionConfiguration | ( | ) |
Definition at line 86 of file DbConnectionConfiguration.cc.
const std::string & cond::DbConnectionConfiguration::authenticationPath | ( | ) | const |
Definition at line 320 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::configure | ( | coral::IConnectionServiceConfiguration & | coralConfig | ) | const |
Definition at line 203 of file DbConnectionConfiguration.cc.
References builder_last_value_cfg::authPath, cond::Auth::COND_AUTH_PATH, cond::Auth::COND_AUTH_PATH_PROPERTY, cond::Auth::COND_AUTH_SYS, cond::CondDbKey, cond::CoralXMLFile, instance, and AlCaHLTBitMon_QueryRunRegistry::string.
int cond::DbConnectionConfiguration::connectionRetrialPeriod | ( | ) | const |
Definition at line 308 of file DbConnectionConfiguration.cc.
int cond::DbConnectionConfiguration::connectionRetrialTimeOut | ( | ) | const |
Definition at line 312 of file DbConnectionConfiguration.cc.
int cond::DbConnectionConfiguration::connectionTimeOut | ( | ) | const |
Definition at line 300 of file DbConnectionConfiguration.cc.
|
static |
Definition at line 17 of file DbConnectionConfiguration.cc.
Referenced by cond::DbConnection::configure().
bool cond::DbConnectionConfiguration::isConnectionSharingEnabled | ( | ) | const |
Definition at line 295 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isPoolAutomaticCleanUpEnabled | ( | ) | const |
Definition at line 316 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isReadOnlySessionOnUpdateConnectionEnabled | ( | ) | const |
Definition at line 304 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isSQLMonitoringEnabled | ( | ) | const |
Definition at line 335 of file DbConnectionConfiguration.cc.
coral::MsgLevel cond::DbConnectionConfiguration::messageLevel | ( | ) | const |
Definition at line 330 of file DbConnectionConfiguration.cc.
cond::DbConnectionConfiguration & cond::DbConnectionConfiguration::operator= | ( | const DbConnectionConfiguration & | rhs | ) |
Definition at line 91 of file DbConnectionConfiguration.cc.
References m_authPath, m_authSys, m_connectionRetrialPeriod, m_connectionRetrialTimeOut, m_connectionSharing, m_connectionTimeOut, m_messageLevel, m_monitoringLevel, m_poolAutomaticCleanUp, m_readOnlySessionOnUpdateConnections, m_SQLMonitoring, and m_transactionId.
void cond::DbConnectionConfiguration::setAuthenticationPath | ( | const std::string & | p | ) |
Definition at line 177 of file DbConnectionConfiguration.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by l1t::DataManager::connect(), HcalO2OManager::getListOfPoolIovs(), HcalO2OManager::getListOfPoolTags(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), cond::PayLoadInspector< DataT >::plot(), L1RCTOmdsFedVectorProducer::produce(), SiStripCoralIface::SiStripCoralIface(), cond::PayLoadInspector< DataT >::summary(), and cond::PayLoadInspector< DataT >::trend_plot().
void cond::DbConnectionConfiguration::setAuthenticationSystem | ( | int | authSysCode | ) |
Definition at line 181 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setConnectionRetrialPeriod | ( | int | period | ) |
Definition at line 162 of file DbConnectionConfiguration.cc.
References HLT_25ns14e33_v1_cff::period.
void cond::DbConnectionConfiguration::setConnectionRetrialTimeOut | ( | int | timeout | ) |
Definition at line 167 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setConnectionSharing | ( | bool | flag | ) |
Definition at line 147 of file DbConnectionConfiguration.cc.
References archive::flag.
Referenced by l1t::DataManager::connect().
void cond::DbConnectionConfiguration::setConnectionTimeOut | ( | int | timeOut | ) |
Definition at line 152 of file DbConnectionConfiguration.cc.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
void cond::DbConnectionConfiguration::setMessageLevel | ( | coral::MsgLevel | l | ) |
Definition at line 189 of file DbConnectionConfiguration.cc.
References prof2calltree::l.
Referenced by FillInfoPopConSourceHandler::getNewObjects(), and l1t::DataManager::setDebug().
void cond::DbConnectionConfiguration::setMonitoringLevel | ( | coral::monitor::Level | l | ) |
Definition at line 193 of file DbConnectionConfiguration.cc.
References prof2calltree::l.
void cond::DbConnectionConfiguration::setParameters | ( | const edm::ParameterSet & | connectionPset | ) |
Definition at line 107 of file DbConnectionConfiguration.cc.
References builder_last_value_cfg::authPath, Debug, edm::ParameterSet::getUntrackedParameter(), testEve_cfg::level, and AlCaHLTBitMon_QueryRunRegistry::string.
void cond::DbConnectionConfiguration::setPoolAutomaticCleanUp | ( | bool | flag | ) |
Definition at line 172 of file DbConnectionConfiguration.cc.
References archive::flag.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
void cond::DbConnectionConfiguration::setReadOnlySessionOnUpdateConnections | ( | bool | flag | ) |
Definition at line 157 of file DbConnectionConfiguration.cc.
References archive::flag.
Referenced by l1t::DataManager::connect().
void cond::DbConnectionConfiguration::setSQLMonitoring | ( | bool | flag | ) |
Definition at line 199 of file DbConnectionConfiguration.cc.
References archive::flag.
void cond::DbConnectionConfiguration::setTransactionId | ( | std::string const & | tid | ) |
Definition at line 185 of file DbConnectionConfiguration.cc.
const std::string & cond::DbConnectionConfiguration::transactionId | ( | ) | const |
Definition at line 325 of file DbConnectionConfiguration.cc.
|
private |
Definition at line 92 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 93 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 89 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 90 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 86 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 87 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 95 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 96 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 100 of file DbConnectionConfiguration.h.
|
private |
Definition at line 91 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 88 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 99 of file DbConnectionConfiguration.h.
Referenced by operator=().
|
private |
Definition at line 94 of file DbConnectionConfiguration.h.
Referenced by operator=().