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
|
Decorator for in memory caching the result of a standalone function. |
Calback function for CacheEnergyManagementStore. |
|
|
Cache the output of a function into a temporary file. |
|
Decorator for in memory caching the result of an instance method. |
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. |