Skip to main content

clear

Function clear 

Source
pub fn clear()
Expand description

Drop all entries, freeing the heap. Called by the eviction orchestrator under memory pressure; the cache simply re-warms on subsequent reads.