(&self)
| 277 | } |
| 278 | |
| 279 | fn adjust_adaptive_ttl(&self) { |
| 280 | let mut stats = self.stats.write(); |
| 281 | stats.adaptive_ttl_adjustments += 1; |
| 282 | |
| 283 | debug!("Adjusting cache TTLs due to memory pressure"); |
| 284 | // TTL adjustment is handled by individual caches |
| 285 | // This is a placeholder for future enhancements |
| 286 | } |
| 287 | |
| 288 | fn handle_pressure_eviction(&self, current_memory_mb: f64) { |
| 289 | let caches = self.managed_caches.read(); |
no outgoing calls
no test coverage detected