#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 28 of file DBService.h.
lumi::service::DBService::DBService | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 9 of file DBService.cc.
References l1RCTOmdsFedVectorProducer_cfi::authpath, edm::ParameterSet::getUntrackedParameter(), m_dbconfig, and AlCaHLTBitMon_QueryRunRegistry::string.
lumi::service::DBService::~DBService | ( | ) |
Definition at line 17 of file DBService.cc.
lumi::service::ISessionProxyPtr lumi::service::DBService::connectReadOnly | ( | const std::string & | connectstring | ) |
Definition at line 19 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 37 of file DBService.h.
Referenced by DBService().
|
private |
Definition at line 38 of file DBService.h.
Referenced by connectReadOnly().
|
private |
Definition at line 36 of file DBService.h.
Referenced by connectReadOnly().