akkudoktoreos.core.cache
In-memory and file caching.
Decorators and classes for caching results of computations, both in memory (using an LRU cache) and in temporary files. It also includes mechanisms for managing cache file expiration and retrieval.
Functions
|
Cleanup expired cache files. |
|
Decorator for in memory caching the result of a callable. |
Calback function for CacheEnergyManagementStore. |
|
|
Cache the output of a function into a temporary file. |
Load cache from cachefilestore.json. |
|
Save cache to cachefilestore.json. |
Classes
|
Singleton-based in-memory LRU (Least Recently Used) cache. |
|
|
|
A key-value store that manages file-like tempfile objects to be used as cache files. |