#include <DataProxy.h>
Public Types | |
typedef std::pair< std::string, std::string > | Args |
typedef std::shared_ptr< edm::eventsetup::DataProxy > | edmProxyP |
typedef std::shared_ptr< cond::persistency::BasePayloadProxy > | ProxyP |
Public Member Functions | |
void | addInfo (std::string const &il, std::string const &cs, std::string const &tag) |
std::string const & | connString () const |
Iov_t const & | currentIov () const |
DataProxyWrapperBase () | |
virtual edmProxyP | edmProxy (unsigned int iovIndex) const =0 |
virtual void | initConcurrentIOVs (unsigned int nConcurrentIOVs)=0 |
persistency::IOVProxy & | iovProxy () |
persistency::IOVProxy const & | iovProxy () const |
std::string const & | label () const |
virtual void | lateInit (persistency::Session &session, const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::string const &il, std::string const &cs, edm::SerialTaskQueue *queue, std::mutex *mutex)=0 |
void | loadTag (std::string const &tag) |
void | loadTag (std::string const &tag, boost::posix_time::ptime const &snapshotTime) |
virtual ProxyP | proxy (unsigned int iovIndex) const =0 |
void | reload () |
std::shared_ptr< std::vector< Iov_t > > const & | requests () const |
persistency::Session & | session () |
persistency::Session const & | session () const |
ValidityInterval | setIntervalFor (Time_t target, Time_t defaultIovSize) |
void | setSession (persistency::Session const &v) |
std::string const & | tag () const |
TimeType | timeType () const |
virtual edm::eventsetup::TypeTag | type () const =0 |
virtual | ~DataProxyWrapperBase () |
Private Attributes | |
std::string | m_connString |
Iov_t | m_currentIov |
persistency::IOVProxy | m_iovProxy |
std::string | m_label |
std::shared_ptr< std::vector< Iov_t > > | m_requests |
persistency::Session | m_session |
std::string | m_tag |
Definition at line 65 of file DataProxy.h.
typedef std::pair<std::string, std::string> cond::DataProxyWrapperBase::Args |
Definition at line 71 of file DataProxy.h.
typedef std::shared_ptr<edm::eventsetup::DataProxy> cond::DataProxyWrapperBase::edmProxyP |
Definition at line 68 of file DataProxy.h.
typedef std::shared_ptr<cond::persistency::BasePayloadProxy> cond::DataProxyWrapperBase::ProxyP |
Definition at line 67 of file DataProxy.h.
cond::DataProxyWrapperBase::DataProxyWrapperBase | ( | ) |
Definition at line 19 of file ProxyFactory.cc.
|
virtual |
Definition at line 21 of file ProxyFactory.cc.
void cond::DataProxyWrapperBase::addInfo | ( | std::string const & | il, |
std::string const & | cs, | ||
std::string const & | tag | ||
) |
Definition at line 23 of file ProxyFactory.cc.
References fwrapper::cs, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
|
inline |
Definition at line 98 of file DataProxy.h.
References m_currentIov.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
pure virtual |
|
pure virtual |
|
inline |
|
inline |
|
inline |
|
pure virtual |
void cond::DataProxyWrapperBase::loadTag | ( | std::string const & | tag | ) |
Definition at line 29 of file ProxyFactory.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
void cond::DataProxyWrapperBase::loadTag | ( | std::string const & | tag, |
boost::posix_time::ptime const & | snapshotTime | ||
) |
Definition at line 37 of file ProxyFactory.cc.
References loadRecoTauTagMVAsFromPrepDB_cfi::snapshotTime, and GlobalPosition_Frontier_DevDB_cff::tag.
|
pure virtual |
void cond::DataProxyWrapperBase::reload | ( | ) |
Definition at line 45 of file ProxyFactory.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 101 of file DataProxy.h.
References m_requests.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 99 of file DataProxy.h.
References m_session.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
cond::ValidityInterval cond::DataProxyWrapperBase::setIntervalFor | ( | Time_t | target, |
Time_t | defaultIovSize | ||
) |
|
inline |
Definition at line 103 of file DataProxy.h.
References m_session, and findQualityFiles::v.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 95 of file DataProxy.h.
References m_tag.
Referenced by DataProxyWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 110 of file DataProxy.h.
References m_iovProxy, cond::persistency::IOVProxy::tagInfo(), and cond::Tag_t::timeType.
|
pure virtual |
|
private |
Definition at line 114 of file DataProxy.h.
Referenced by connString().
|
private |
Definition at line 117 of file DataProxy.h.
Referenced by currentIov().
|
private |
Definition at line 116 of file DataProxy.h.
Referenced by iovProxy(), and timeType().
|
private |
Definition at line 113 of file DataProxy.h.
Referenced by label().
|
private |
Definition at line 119 of file DataProxy.h.
Referenced by requests().
|
private |
Definition at line 118 of file DataProxy.h.
Referenced by session(), and setSession().
|
private |
Definition at line 115 of file DataProxy.h.
Referenced by tag().