aboutsummaryrefslogtreecommitdiffstats
path: root/include/LifecycleManager.h
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-05-08 22:24:13 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-05-08 22:24:13 -0300
commitbe67e04f498f02c601788f2e23913827d2aa3c21 (patch)
tree8e1ce1a3aa290c65ef5015842f95967c04da55b3 /include/LifecycleManager.h
parentdbad4b699e35442920baa60c13f76e95904fe317 (diff)
downloadRNT-be67e04f498f02c601788f2e23913827d2aa3c21.tar.gz
RNT-be67e04f498f02c601788f2e23913827d2aa3c21.zip
documentation for VM, cursor manager and namespace
Diffstat (limited to '')
-rw-r--r--include/LifecycleManager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/LifecycleManager.h b/include/LifecycleManager.h
index 2cd270d..8bf1a2c 100644
--- a/include/LifecycleManager.h
+++ b/include/LifecycleManager.h
@@ -10,6 +10,7 @@ namespace nt
public:
// If object is not being monitored already, monitors the lifecycle by updating the handle count.
// Maybe also look at the reference count and kill some categories of disposable objects no longer referenced by other objects, like transactions.
+ // One use case is preventing compaction/prunning of history while cursors depend on old database snapshots, for example.
// Think of other use cases later.
void Monitor(ObjectManager::registry* object);
// Serializes contention for the change of a mutable reference.