StorageInstanceManager
Index
Methods
__init__
Returns None
clear_cache
Clear all cached storage instances.
Returns None
open_storage_instance
Open a storage instance with caching support.
Parameters
keyword-onlyid: str | None
Storage ID.
keyword-onlyname: str | None
Storage name.
keyword-onlyconfiguration: Configuration
Configuration object.
keyword-onlyclient_opener: ClientOpener
Function to create the storage client.
Returns T
remove_from_cache
Remove a storage instance from the cache.
Parameters
storage_instance: Storage
The storage instance to remove.
Returns None
Manager for caching and managing storage instances.
This class centralizes the caching logic for all storage types (Dataset, KeyValueStore, RequestQueue) and provides a unified interface for opening and managing storage instances.