aboutsummaryrefslogtreecommitdiffstats
path: root/include/LifecycleManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/LifecycleManager.h')
-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.