MCPcopy Create free account
hub / github.com/elastic/devfiler / clear_cache

Method clear_cache

src/storage/table.rs:51–54  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49 /// Helper function for tests only so far.
50 #[allow(dead_code)]
51 fn clear_cache(&self) {
52 let mut cache = self.cache().lock().unwrap();
53 cache.clear();
54 }
55
56 /// Estimate the number of records in this table.
57 fn count_estimate(&self) -> u64 {

Callers 2

test_cache_lru_evictionFunction · 0.80
test_cache_basic_usageFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_cache_lru_evictionFunction · 0.64
test_cache_basic_usageFunction · 0.64