1 #ifndef CondCore_CondDB_IOVEditor_h 2 #define CondCore_CondDB_IOVEditor_h 18 #include <boost/date_time/posix_time/posix_time.hpp> 22 namespace persistency {
40 const boost::posix_time::ptime&
creationTime = boost::posix_time::microsec_clock::universal_time());
77 const boost::posix_time::ptime& insertionTime,
85 bool flush(
const boost::posix_time::ptime& operationTime);
94 bool flush(
const std::string& logText,
const boost::posix_time::ptime& operationTime,
bool forceInsertion);
98 std::shared_ptr<IOVEditorData>
m_data;
std::string payloadType() const
cond::Time_t lastValidatedTime() const
void checkTransaction(const std::string &ctx)
void load(const std::string &tag)
void setDescription(const std::string &description)
void setLastValidatedTime(cond::Time_t time)
std::shared_ptr< SessionImpl > m_session
unsigned long long Time_t
cond::Time_t endOfValidity() const
IOVEditor & operator=(const IOVEditor &rhs)
void erase(cond::Time_t since, const cond::Hash &payloadHash)
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
std::shared_ptr< IOVEditorData > m_data
std::string description() const
cond::TimeType timeType() const
void setEndOfValidity(cond::Time_t validity)
void setSynchronizationType(cond::SynchronizationType synchronizationType)
cond::SynchronizationType synchronizationType() const