6 namespace persistency {
21 s.transaction().start(
true);
27 for (
size_t i = 0;
i <
m_keys.size(); ++
i) {
30 if (
p != keyIovs.
end()) {
32 if (!
s.fetchPayloadData((*p).payloadId,
item.first,
item.second.first,
item.second.second))
37 s.transaction().commit();
41 std::pair<std::string, std::pair<cond::Binary, cond::Binary> >
item;
49 s.transaction().start(
true);
52 if (
p != keyIovs.
end()) {
53 if (!
s.fetchPayloadData((*p).payloadId,
item.first,
item.second.first,
item.second.second))
58 s.transaction().commit();
std::vector< unsigned long long > m_keys
void throwException(const std::string &message, const std::string &methodName)
static std::string to_string(const XMLCh *ch)
const std::shared_ptr< SessionImpl > & session() const
Iterator find(cond::Time_t time) const
std::vector< std::pair< std::string, std::pair< cond::Binary, cond::Binary > > > m_data
void setKeys(const std::vector< unsigned long long > &keys)
determines which keys to use to read from the DB. Should only be used by PoolDBESSource ...
std::pair< std::string, std::pair< cond::Binary, cond::Binary > > loadFromDB(unsigned long long key) const
void init(IOVProxy iovProxy)
Called by PoolDBESSource.
void throwException(const std::string &message, const std::string &methodName)