pub fn clear(&self) {
        if let Some(cache) = &self.cache {
            cache.invalidate_all();
            self.report_size();
        }
    }
Removes all entries from this cache.
core/lib/state/src/cache/lru_cache.rs