Manages the caching of collections and their indexes
| 45 | |
| 46 | // Manages the caching of collections and their indexes |
| 47 | pub struct CollectionCacheManager { |
| 48 | cache: Arc<LRUCache<CollectionNameKey, Arc<CollectionCacheEntry>>>, |
| 49 | collections_path: Arc<Path>, |
| 50 | name_to_key: Arc<dashmap::DashMap<String, CollectionNameKey>>, |
| 51 | app_env: Arc<AppEnv>, |
| 52 | } |
| 53 | |
| 54 | impl CollectionCacheManager { |
| 55 | #[allow(unused)] |
nothing calls this directly
no outgoing calls
no test coverage detected