mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
parent
fd9bdb798d
commit
0d34d8951a
@ -75,6 +75,7 @@ protected:
|
|||||||
virtual void CleanUpExecuteQuery(const String& table, const String& time_column, double max_age);
|
virtual void CleanUpExecuteQuery(const String& table, const String& time_column, double max_age);
|
||||||
virtual void FillIDCache(const DbType::Ptr& type) = 0;
|
virtual void FillIDCache(const DbType::Ptr& type) = 0;
|
||||||
virtual void NewTransaction() = 0;
|
virtual void NewTransaction() = 0;
|
||||||
|
virtual void Disconnect() = 0;
|
||||||
|
|
||||||
void UpdateObject(const ConfigObject::Ptr& object);
|
void UpdateObject(const ConfigObject::Ptr& object);
|
||||||
void UpdateAllObjects();
|
void UpdateAllObjects();
|
||||||
|
@ -51,6 +51,7 @@ protected:
|
|||||||
void CleanUpExecuteQuery(const String& table, const String& time_key, double time_value) override;
|
void CleanUpExecuteQuery(const String& table, const String& time_key, double time_value) override;
|
||||||
void FillIDCache(const DbType::Ptr& type) override;
|
void FillIDCache(const DbType::Ptr& type) override;
|
||||||
void NewTransaction() override;
|
void NewTransaction() override;
|
||||||
|
void Disconnect() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DbReference m_InstanceID;
|
DbReference m_InstanceID;
|
||||||
@ -82,7 +83,6 @@ private:
|
|||||||
void InternalActivateObject(const DbObject::Ptr& dbobj);
|
void InternalActivateObject(const DbObject::Ptr& dbobj);
|
||||||
void InternalDeactivateObject(const DbObject::Ptr& dbobj);
|
void InternalDeactivateObject(const DbObject::Ptr& dbobj);
|
||||||
|
|
||||||
void Disconnect();
|
|
||||||
void Reconnect();
|
void Reconnect();
|
||||||
|
|
||||||
void AssertOnWorkQueue();
|
void AssertOnWorkQueue();
|
||||||
|
@ -44,6 +44,7 @@ protected:
|
|||||||
void CleanUpExecuteQuery(const String& table, const String& time_key, double time_value) override;
|
void CleanUpExecuteQuery(const String& table, const String& time_key, double time_value) override;
|
||||||
void FillIDCache(const DbType::Ptr& type) override;
|
void FillIDCache(const DbType::Ptr& type) override;
|
||||||
void NewTransaction() override;
|
void NewTransaction() override;
|
||||||
|
void Disconnect() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DbReference m_InstanceID;
|
DbReference m_InstanceID;
|
||||||
@ -67,7 +68,6 @@ private:
|
|||||||
void InternalActivateObject(const DbObject::Ptr& dbobj);
|
void InternalActivateObject(const DbObject::Ptr& dbobj);
|
||||||
void InternalDeactivateObject(const DbObject::Ptr& dbobj);
|
void InternalDeactivateObject(const DbObject::Ptr& dbobj);
|
||||||
|
|
||||||
void Disconnect();
|
|
||||||
void InternalNewTransaction();
|
void InternalNewTransaction();
|
||||||
void Reconnect();
|
void Reconnect();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user