DatastoreDisabledCacheManager¶
- class lsst.daf.butler.DatastoreDisabledCacheManager(config: str | DatastoreCacheManagerConfig, universe: DimensionUniverse)¶
- Bases: - AbstractDatastoreCacheManager- A variant of the datastore cache where no cache is enabled. - Parameters:
- configstrorDatastoreCacheManagerConfig
- Configuration to control caching. 
- universeDimensionUniverse
- Set of all known dimensions, used to expand and validate any used in lookup keys. 
 
- config
 - Attributes Summary - Size of the cache in bytes. - Return number of cached files tracked by registry. - Methods Summary - find_in_cache(ref, extension)- Look for a dataset in the cache and return its location. - known_to_cache(ref[, extension])- Report if a dataset is known to the cache. - move_to_cache(uri, ref)- Move dataset to cache but always refuse and returns - None.- remove_from_cache(ref)- Remove datasets from cache. - should_be_cached(entity)- Indicate whether the entity should be added to the cache. - Attributes Documentation - cache_size¶
- Size of the cache in bytes. 
 - file_count¶
- Return number of cached files tracked by registry. 
 - Methods Documentation - find_in_cache(ref: DatasetRef, extension: str) Iterator[ResourcePath | None]¶
- Look for a dataset in the cache and return its location. - Never finds a file. 
 - known_to_cache(ref: DatasetRef, extension: str | None = None) bool¶
- Report if a dataset is known to the cache. - Always returns - False.
 - move_to_cache(uri: ResourcePath, ref: DatasetRef) ResourcePath | None¶
- Move dataset to cache but always refuse and returns - None.
 - remove_from_cache(ref: DatasetRef | Iterable[DatasetRef]) None¶
- Remove datasets from cache. - Always does nothing. 
 - should_be_cached(entity: DatasetRef | DatasetType | StorageClass) bool¶
- Indicate whether the entity should be added to the cache. - Always returns - False.