MCPcopy Create free account
hub / github.com/apache/datafusion / update_cache_limit

Method update_cache_limit

datafusion/execution/src/cache/file_metadata_cache.rs:213–217  ·  view source on GitHub ↗
(&self, limit: usize)

Source from the content-addressed store, hash-verified

211 }
212
213 fn update_cache_limit(&self, limit: usize) {
214 let mut state = self.state.lock().unwrap();
215 state.memory_limit = limit;
216 state.evict_entries();
217 }
218
219 fn list_entries(&self) -> HashMap<Path, FileMetadataCacheEntry> {
220 let state = self.state.lock().unwrap();

Calls 1

evict_entriesMethod · 0.45