icinga2/lib/icingadb
Julian Brost 1c066fc02e Simplify NamespaceValue class hierarchy to one struct without member functions
This commit removes EmbeddedNamespaceValue and ConstEmbeddedNamespaceValue and
reduces NamespaceValue down to a simple struct without inheritance or member
functions. The code from these clases is inlined into the Namespace class. The
class hierarchy determining whether a value is const is moved to an attribute
of NamespaceValue.

This is done in preparation for changes to the locking in the Namespace class.
Currently, it relies on a recursive mutex. In the future, a shared mutex
(read/write lock) should be used instead, which cannot allow recursive locking
(without failing or risk deadlocking on lock upgrades). With this change, all
operations requiring a lock for one operation are within one function, no
recursive locking is not needed any more.
2023-01-19 17:55:11 +01:00
..
CMakeLists.txt Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00
icingadb-itl.conf Icinga DB Check: rename variables from takes to duration 2022-06-28 13:33:00 +02:00
icingadb-objects.cpp Icinga DB: on every check result update state only 1x, not 3x in a row 2022-09-06 10:10:14 +02:00
icingadb-stats.cpp Simplify NamespaceValue class hierarchy to one struct without member functions 2023-01-19 17:55:11 +01:00
icingadb-utility.cpp IcingaDB: Cache generated object hash 2022-09-12 17:23:06 +02:00
icingadb.cpp Merge pull request #9346 from Icinga/icingadb-check 2022-06-28 18:24:29 +02:00
icingadb.hpp Icinga DB: on every check result update state only 1x, not 3x in a row 2022-09-06 10:10:14 +02:00
icingadb.ti Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00
icingadbchecktask.cpp Icinga DB Check: don't check runtime update backlog during full sync 2022-06-28 13:33:00 +02:00
icingadbchecktask.hpp Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00
redisconnection.cpp RedisConnection: Don't log queries that are going to be discarded 2022-10-11 13:28:08 +02:00
redisconnection.hpp Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00