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

Method update_cache_ttl

datafusion/execution/src/cache/list_files_cache.rs:367–371  ·  view source on GitHub ↗
(&self, ttl: Option<Duration>)

Source from the content-addressed store, hash-verified

365 }
366
367 fn update_cache_ttl(&self, ttl: Option<Duration>) {
368 let mut state = self.state.lock().unwrap();
369 state.ttl = ttl;
370 state.evict_entries();
371 }
372
373 fn list_entries(&self) -> HashMap<TableScopedPath, ListFilesEntry> {
374 let state = self.state.lock().unwrap();

Callers 1

try_newMethod · 0.80

Calls 1

evict_entriesMethod · 0.45

Tested by

no test coverage detected