Resource Storage
Base classes to implement resource storage for cached_resource package.
Components
ResourceStorage: base class to implement resource storage.CacheEntry: base class that holds cached value and store timestamp.ResourceStorageProvider: interface for resource storage factory.StorageDecoder: interface for persistent storage decoding.StorageExecutor: interface for task executor that can be provided externally and its simple implementationsyncStorageExecutor.TimestampProvider: helper class to use in tests for mocking of timestamp.Logger: base logger interface.JsonStorageAdapter: helper class for toJson/fromJson conversion using provided executor.
Libraries
- resource_storage
- Base classes to implement resource storage for
cached_resourcepackage.