#include <ConnectionPool.h>
Public Member Functions | |
void | configure () |
ConnectionPool () | |
Session | createReadOnlySession (const std::string &connectionString, const std::string &transactionId) |
Session | createSession (const std::string &connectionString, bool writeCapable=false) |
bool | isLoggingEnabled () const |
void | setAuthenticationPath (const std::string &p) |
void | setAuthenticationSystem (int authSysCode) |
void | setLogging (bool flag) |
void | setMessageVerbosity (coral::MsgLevel level) |
void | setParameters (const edm::ParameterSet &connectionPset) |
~ConnectionPool () | |
Private Member Functions | |
void | configure (coral::IConnectionServiceConfiguration &coralConfig) |
Session | createSession (const std::string &connectionString, const std::string &transactionId, bool writeCapable=false) |
Private Attributes | |
std::string | m_authPath |
int | m_authSys = 0 |
bool | m_loggingEnabled = false |
coral::MsgLevel | m_messageLevel = coral::Info |
cond::CoralServiceManager * | m_pluginManager = 0 |
std::vector< std::string > | m_refreshtablelist |
Definition at line 29 of file ConnectionPool.h.
cond::persistency::ConnectionPool::ConnectionPool | ( | ) |
Definition at line 23 of file ConnectionPool.cc.
References configure(), and m_refreshtablelist.
cond::persistency::ConnectionPool::~ConnectionPool | ( | ) |
Definition at line 43 of file ConnectionPool.cc.
References m_pluginManager.
void cond::persistency::ConnectionPool::configure | ( | ) |
Definition at line 137 of file ConnectionPool.cc.
Referenced by CondDBESSource::CondDBESSource(), ConnectionPool(), DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
|
private |
Definition at line 88 of file ConnectionPool.cc.
References builder_last_value_cfg::authPath, cond::Auth::COND_AUTH_PATH, cond::Auth::COND_AUTH_PATH_PROPERTY, cond::Auth::COND_AUTH_SYS, cond::persistency::CondDbKey, cond::persistency::CoralXMLFile, instance, m_authPath, m_authSys, m_messageLevel, m_pluginManager, and AlCaHLTBitMon_QueryRunRegistry::string.
Session cond::persistency::ConnectionPool::createReadOnlySession | ( | const std::string & | connectionString, |
const std::string & | transactionId | ||
) |
Definition at line 157 of file ConnectionPool.cc.
References createSession().
Referenced by CondDBESSource::CondDBESSource(), and CondDBESSource::setIntervalFor().
Session cond::persistency::ConnectionPool::createSession | ( | const std::string & | connectionString, |
bool | writeCapable = false |
||
) |
Definition at line 153 of file ConnectionPool.cc.
Referenced by createReadOnlySession(), CondDBESSource::fillTagCollectionFromGT(), DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
|
private |
Definition at line 142 of file ConnectionPool.cc.
References cond::persistency::getRealConnectionString(), and m_refreshtablelist.
bool cond::persistency::ConnectionPool::isLoggingEnabled | ( | ) | const |
Definition at line 84 of file ConnectionPool.cc.
References m_loggingEnabled.
void cond::persistency::ConnectionPool::setAuthenticationPath | ( | const std::string & | p | ) |
Definition at line 47 of file ConnectionPool.cc.
References m_authPath, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTKeyedConfigHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), and setParameters().
void cond::persistency::ConnectionPool::setAuthenticationSystem | ( | int | authSysCode | ) |
Definition at line 51 of file ConnectionPool.cc.
References m_authSys.
Referenced by setParameters().
void cond::persistency::ConnectionPool::setLogging | ( | bool | flag | ) |
Definition at line 55 of file ConnectionPool.cc.
References m_loggingEnabled.
Referenced by setParameters().
void cond::persistency::ConnectionPool::setMessageVerbosity | ( | coral::MsgLevel | level | ) |
Definition at line 160 of file ConnectionPool.cc.
References testEve_cfg::level, and m_messageLevel.
Referenced by setParameters().
void cond::persistency::ConnectionPool::setParameters | ( | const edm::ParameterSet & | connectionPset | ) |
Definition at line 59 of file ConnectionPool.cc.
References Debug, edm::ParameterSet::getUntrackedParameter(), testEve_cfg::level, setAuthenticationPath(), setAuthenticationSystem(), setLogging(), setMessageVerbosity(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CondDBESSource::CondDBESSource(), and cond::service::PoolDBOutputService::PoolDBOutputService().
|
private |
Definition at line 48 of file ConnectionPool.h.
Referenced by configure(), and setAuthenticationPath().
|
private |
Definition at line 49 of file ConnectionPool.h.
Referenced by configure(), and setAuthenticationSystem().
|
private |
Definition at line 51 of file ConnectionPool.h.
Referenced by isLoggingEnabled(), and setLogging().
|
private |
Definition at line 50 of file ConnectionPool.h.
Referenced by configure(), and setMessageVerbosity().
|
private |
Definition at line 53 of file ConnectionPool.h.
Referenced by configure(), and ~ConnectionPool().
|
private |
Definition at line 54 of file ConnectionPool.h.
Referenced by ConnectionPool(), and createSession().