(&self, ttl: Option<Duration>)
| 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(); |