1 #ifndef COND_DBCommon_DbConnectionConfiguration_h
2 #define COND_DBCommon_DbConnectionConfiguration_h
14 #include "CoralBase/MessageStream.h"
15 #include "RelationalAccess/IMonitoring.h"
18 class IConnectionServiceConfiguration;
39 bool readOnlySessionOnUpdateConnections,
42 bool poolAutomaticCleanUp,
45 coral::MsgLevel msgLev,
46 coral::monitor::Level monitorLev,
73 void configure( coral::IConnectionServiceConfiguration& coralConfig)
const;
DbConnectionConfiguration & operator=(const DbConnectionConfiguration &rhs)
~DbConnectionConfiguration()
bool isSQLMonitoringEnabled() const
void setReadOnlySessionOnUpdateConnections(bool flag)
const std::string & transactionId() const
void setTransactionId(std::string const &tid)
coral::MsgLevel m_messageLevel
std::pair< bool, bool > m_poolAutomaticCleanUp
void setConnectionRetrialPeriod(int period)
int connectionTimeOut() const
CoralServiceManager * m_pluginManager
void setParameters(const edm::ParameterSet &connectionPset)
std::pair< bool, int > m_connectionRetrialTimeOut
void setPoolAutomaticCleanUp(bool flag)
void setMessageLevel(coral::MsgLevel l)
bool isReadOnlySessionOnUpdateConnectionEnabled() const
std::string m_transactionId
void configure(coral::IConnectionServiceConfiguration &coralConfig) const
DbConnectionConfiguration()
std::pair< bool, int > m_connectionRetrialPeriod
bool isPoolAutomaticCleanUpEnabled() const
int connectionRetrialPeriod() const
std::pair< bool, bool > m_readOnlySessionOnUpdateConnections
bool isConnectionSharingEnabled() const
std::pair< bool, bool > m_connectionSharing
int connectionRetrialTimeOut() const
void setSQLMonitoring(bool flag)
void setAuthenticationSystem(int authSysCode)
std::pair< bool, int > m_connectionTimeOut
void setConnectionTimeOut(int timeOut)
void setAuthenticationPath(const std::string &p)
coral::monitor::Level m_monitoringLevel
void setConnectionRetrialTimeOut(int timeout)
void setConnectionSharing(bool flag)
const std::string & authenticationPath() const
void setMonitoringLevel(coral::monitor::Level l)
coral::MsgLevel messageLevel() const
static const std::vector< DbConnectionConfiguration > & defaultConfigurations()