Get a value by key. Returns None if not found or expired. Checks the primary table first, then the rehash source (if active). Expired keys return None (lazy expiry fallback).
(&self, key: &[u8], now_ms: u64)
| 16 | /// Checks the primary table first, then the rehash source (if active). |
| 17 | /// Expired keys return None (lazy expiry fallback). |
| 18 | pub fn get(&self, key: &[u8], now_ms: u64) -> Option<&[u8]> { |
| 19 | self.get_with_surrogate(key, now_ms).map(|(v, _)| v) |
| 20 | } |
| 21 | |
| 22 | /// Get the value AND the row's stable surrogate for a key. Used by |
| 23 | /// the clone-delegated read path to filter rows whose binding was |
no test coverage detected