Explanation for pager interface

This commit is contained in:
Pekka Enberg
2024-05-07 07:50:42 -03:00
parent 40e5d58cea
commit 707cc53911

View File

@@ -66,6 +66,9 @@ impl Page {
}
}
/// The pager interface implements the persistence layer by providing access
/// to pages of the database file, including caching, concurrency control, and
/// transaction management.
pub struct Pager {
page_source: PageSource,
page_cache: RefCell<SieveCache<usize, Rc<Page>>>,