Skip to main content

cache_page_observer

Function cache_page_observer 

Source
pub(crate) fn cache_page_observer(
    cache_name_label: &'static str,
    cache_category_label: &'static str,
    lookup_counts: fn(usize, usize) -> (usize, usize),
) -> PageCacheObserver
Expand description

Binds shared page/cache I/O metrics while retaining the business hit/miss labels.