pub trait FileStatisticsCache: CacheAccessor<Path, Arc<Statistics>, Extra = ObjectMeta> {
// Required method
fn list_entries(&self) -> HashMap<Path, FileStatisticsCacheEntry>;
}Expand description
A cache for Statistics.
If enabled via CacheManagerConfig::with_files_statistics_cache this
cache avoids inferring the same file statistics repeatedly during the
session lifetime.
See crate::runtime_env::RuntimeEnv for more details
Required Methods§
Sourcefn list_entries(&self) -> HashMap<Path, FileStatisticsCacheEntry>
fn list_entries(&self) -> HashMap<Path, FileStatisticsCacheEntry>
Retrieves the information about the entries currently cached.