#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 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 32 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 74 of file DbConnectionConfiguration.cc.
cond::DbConnectionConfiguration::~DbConnectionConfiguration | ( | ) |
Definition at line 90 of file DbConnectionConfiguration.cc.
const std::string & cond::DbConnectionConfiguration::authenticationPath | ( | ) | const |
Definition at line 326 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::configure | ( | coral::IConnectionServiceConfiguration & | coralConfig | ) | const |
Definition at line 207 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, and instance.
int cond::DbConnectionConfiguration::connectionRetrialPeriod | ( | ) | const |
Definition at line 314 of file DbConnectionConfiguration.cc.
int cond::DbConnectionConfiguration::connectionRetrialTimeOut | ( | ) | const |
Definition at line 318 of file DbConnectionConfiguration.cc.
int cond::DbConnectionConfiguration::connectionTimeOut | ( | ) | const |
Definition at line 306 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 301 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isPoolAutomaticCleanUpEnabled | ( | ) | const |
Definition at line 322 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isReadOnlySessionOnUpdateConnectionEnabled | ( | ) | const |
Definition at line 310 of file DbConnectionConfiguration.cc.
bool cond::DbConnectionConfiguration::isSQLMonitoringEnabled | ( | ) | const |
Definition at line 341 of file DbConnectionConfiguration.cc.
coral::MsgLevel cond::DbConnectionConfiguration::messageLevel | ( | ) | const |
Definition at line 336 of file DbConnectionConfiguration.cc.
cond::DbConnectionConfiguration & cond::DbConnectionConfiguration::operator= | ( | const DbConnectionConfiguration & | rhs | ) |
Definition at line 95 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 181 of file DbConnectionConfiguration.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by l1t::DataManager::connect(), HcalO2OManager::getListOfPoolIovs(), HcalO2OManager::getListOfPoolTags(), FillInfoPopConSourceHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), DTHVStatusHandler::getNewObjects(), L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase(), 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 185 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setConnectionRetrialPeriod | ( | int | period | ) |
Definition at line 166 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setConnectionRetrialTimeOut | ( | int | timeout | ) |
Definition at line 171 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setConnectionSharing | ( | bool | flag | ) |
Definition at line 151 of file DbConnectionConfiguration.cc.
Referenced by l1t::DataManager::connect().
void cond::DbConnectionConfiguration::setConnectionTimeOut | ( | int | timeOut | ) |
Definition at line 156 of file DbConnectionConfiguration.cc.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
void cond::DbConnectionConfiguration::setMessageLevel | ( | coral::MsgLevel | l | ) |
Definition at line 193 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 197 of file DbConnectionConfiguration.cc.
References prof2calltree::l.
void cond::DbConnectionConfiguration::setParameters | ( | const edm::ParameterSet & | connectionPset | ) |
Definition at line 111 of file DbConnectionConfiguration.cc.
References builder_last_value_cfg::authPath, Debug, edm::ParameterSet::getUntrackedParameter(), and testEve_cfg::level.
Referenced by CondDBESSource::CondDBESSource(), and cond::service::PoolDBOutputService::PoolDBOutputService().
void cond::DbConnectionConfiguration::setPoolAutomaticCleanUp | ( | bool | flag | ) |
Definition at line 176 of file DbConnectionConfiguration.cc.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
void cond::DbConnectionConfiguration::setReadOnlySessionOnUpdateConnections | ( | bool | flag | ) |
Definition at line 161 of file DbConnectionConfiguration.cc.
Referenced by l1t::DataManager::connect().
void cond::DbConnectionConfiguration::setSQLMonitoring | ( | bool | flag | ) |
Definition at line 203 of file DbConnectionConfiguration.cc.
void cond::DbConnectionConfiguration::setTransactionId | ( | std::string const & | tid | ) |
Definition at line 189 of file DbConnectionConfiguration.cc.
const std::string & cond::DbConnectionConfiguration::transactionId | ( | ) | const |
Definition at line 331 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=().