#include <IOVProxy.h>
Classes | |
class | Iterator |
Public Types | |
typedef std::vector < std::tuple< cond::Time_t, cond::Hash > > | IOVContainer |
Public Member Functions | |
Iterator | begin () const |
Iterator | end () const |
cond::Time_t | endOfValidity () const |
Iterator | find (cond::Time_t time) |
cond::Iov_t | getInterval (cond::Time_t time) |
cond::Iov_t | getLast () |
std::tuple< std::string, boost::posix_time::ptime, boost::posix_time::ptime > | getMetadata () const |
IOVProxy () | |
IOVProxy (const std::shared_ptr< SessionImpl > &session) | |
IOVProxy (const IOVProxy &rhs) | |
bool | isEmpty () const |
cond::Time_t | lastValidatedTime () const |
void | load (const std::string &tag, bool full=false) |
void | load (const std::string &tag, const boost::posix_time::ptime &snapshottime, bool full=false) |
std::pair< cond::Time_t, cond::Time_t > | loadedGroup () const |
int | loadedSize () const |
size_t | numberOfQueries () const |
IOVProxy & | operator= (const IOVProxy &rhs) |
std::string | payloadObjectType () const |
void | reload () |
void | reset () |
int | sequenceSize () const |
const std::shared_ptr < SessionImpl > & | session () const |
cond::SynchronizationType | synchronizationType () const |
std::string | tag () const |
cond::TimeType | timeType () const |
Private Member Functions | |
void | checkTransaction (const std::string &ctx) const |
void | fetchSequence (cond::Time_t lowerGroup, cond::Time_t higherGroup) |
Private Attributes | |
std::shared_ptr< IOVProxyData > | m_data |
std::shared_ptr< SessionImpl > | m_session |
Definition at line 28 of file IOVProxy.h.
typedef std::vector<std::tuple<cond::Time_t,cond::Hash> > cond::persistency::IOVProxy::IOVContainer |
Definition at line 30 of file IOVProxy.h.
IOVProxy::IOVProxy | ( | ) |
Definition at line 109 of file IOVProxy.cc.
|
explicit |
Definition at line 114 of file IOVProxy.cc.
IOVProxy::IOVProxy | ( | const IOVProxy & | rhs | ) |
Definition at line 119 of file IOVProxy.cc.
IOVProxy::Iterator IOVProxy::begin | ( | void | ) | const |
Definition at line 257 of file IOVProxy.cc.
|
private |
Definition at line 225 of file IOVProxy.cc.
IOVProxy::Iterator IOVProxy::end | ( | void | ) | const |
Definition at line 265 of file IOVProxy.cc.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), cond::persistency::KeyList::load(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), and cond::persistency::BasePayloadProxy::setIntervalFor().
cond::Time_t IOVProxy::endOfValidity | ( | ) | const |
Definition at line 203 of file IOVProxy.cc.
|
private |
Definition at line 230 of file IOVProxy.cc.
IOVProxy::Iterator IOVProxy::find | ( | cond::Time_t | time | ) |
Definition at line 288 of file IOVProxy.cc.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), cond::persistency::KeyList::load(), l1t::DataWriter::payloadToken(), l1t::DataWriterExt::payloadToken(), and cond::persistency::BasePayloadProxy::setIntervalFor().
cond::Iov_t IOVProxy::getInterval | ( | cond::Time_t | time | ) |
Definition at line 317 of file IOVProxy.cc.
cond::Iov_t IOVProxy::getLast | ( | ) |
Definition at line 325 of file IOVProxy.cc.
Referenced by popcon::PopCon::initialize().
std::tuple< std::string, boost::posix_time::ptime, boost::posix_time::ptime > IOVProxy::getMetadata | ( | ) | const |
Definition at line 211 of file IOVProxy.cc.
bool IOVProxy::isEmpty | ( | ) | const |
Definition at line 221 of file IOVProxy.cc.
cond::Time_t IOVProxy::lastValidatedTime | ( | ) | const |
Definition at line 207 of file IOVProxy.cc.
void IOVProxy::load | ( | const std::string & | tag, |
bool | full = false |
||
) |
Definition at line 130 of file IOVProxy.cc.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
void IOVProxy::load | ( | const std::string & | tag, |
const boost::posix_time::ptime & | snapshottime, | ||
bool | full = false |
||
) |
Definition at line 136 of file IOVProxy.cc.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
std::pair< cond::Time_t, cond::Time_t > IOVProxy::loadedGroup | ( | ) | const |
Definition at line 357 of file IOVProxy.cc.
int IOVProxy::loadedSize | ( | ) | const |
Definition at line 338 of file IOVProxy.cc.
size_t IOVProxy::numberOfQueries | ( | ) | const |
Definition at line 353 of file IOVProxy.cc.
Definition at line 124 of file IOVProxy.cc.
std::string IOVProxy::payloadObjectType | ( | ) | const |
Definition at line 195 of file IOVProxy.cc.
void IOVProxy::reload | ( | ) |
Definition at line 173 of file IOVProxy.cc.
void IOVProxy::reset | ( | void | ) |
Definition at line 177 of file IOVProxy.cc.
int IOVProxy::sequenceSize | ( | ) | const |
Definition at line 342 of file IOVProxy.cc.
Referenced by popcon::PopCon::initialize().
const std::shared_ptr< SessionImpl > & IOVProxy::session | ( | ) | const |
Definition at line 361 of file IOVProxy.cc.
Referenced by cond::persistency::KeyList::load().
cond::SynchronizationType IOVProxy::synchronizationType | ( | ) | const |
Definition at line 199 of file IOVProxy.cc.
std::string IOVProxy::tag | ( | ) | const |
Definition at line 187 of file IOVProxy.cc.
Referenced by cond::persistency::BasePayloadProxy::reload(), and Inspector.Inspector::SetTag().
cond::TimeType IOVProxy::timeType | ( | ) | const |
Definition at line 191 of file IOVProxy.cc.
Referenced by cond::persistency::BasePayloadProxy::timeType().
|
private |
Definition at line 146 of file IOVProxy.h.
|
private |
Definition at line 147 of file IOVProxy.h.