(&self, event: InvalidationEvent, result: InvalidationResult)
| 417 | } |
| 418 | |
| 419 | fn record_event_result(&self, event: InvalidationEvent, result: InvalidationResult) { |
| 420 | let mut history = self.event_history.write().unwrap(); |
| 421 | |
| 422 | if history.len() >= self.max_history_size { |
| 423 | history.remove(0); |
| 424 | } |
| 425 | |
| 426 | history.push((event, result, Instant::now())); |
| 427 | } |
| 428 | |
| 429 | #[allow(dead_code)] // ROADMAP v0.5.0 - Cache invalidation management (see ROADMAP.md §9) |
| 430 | fn remove_dependency(&self, entry_key: &str) { |
no test coverage detected