#include <DBService.h>
Public Member Functions | |
ISessionProxyPtr | connectReadOnly (const std::string &connectstring) |
DBService (const edm::ParameterSet &iConfig) | |
~DBService () | |
Private Attributes | |
std::unique_ptr< lumi::DBConfig > | m_dbconfig |
std::mutex | m_mutex |
std::unique_ptr< coral::ConnectionService > | m_svc |
Definition at line 31 of file DBService.h.
lumi::service::DBService::DBService | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 9 of file DBService.cc.
References dataDML::authpath, edm::ParameterSet::getUntrackedParameter(), m_dbconfig, and AlCaHLTBitMon_QueryRunRegistry::string.
lumi::service::DBService::~DBService | ( | ) |
Definition at line 19 of file DBService.cc.
lumi::service::ISessionProxyPtr lumi::service::DBService::connectReadOnly | ( | const std::string & | connectstring | ) |
Definition at line 22 of file DBService.cc.
References CommonMethods::lock(), m_mutex, m_svc, and eostools::move().
Referenced by LumiProducer::beginRun(), DIPLumiProducer::filldetailcache(), ExpressLumiProducer::fillLSCache(), LumiProducer::fillLSCache(), and DIPLumiProducer::fillsummarycache().
|
private |
Definition at line 40 of file DBService.h.
Referenced by DBService().
|
private |
Definition at line 41 of file DBService.h.
Referenced by connectReadOnly().
|
private |
Definition at line 39 of file DBService.h.
Referenced by connectReadOnly().