class documentation
class _Cache: (source)
Known subclasses: numpy.distutils.ccompiler_opt.CCompilerOpt
An abstract class handles caching functionality, provides two levels of caching, in-memory by share instances attributes among each other and by store attributes into files.
- Note:
- any attributes that start with _ or conf_ will be ignored.
Parameters | |
cache | The path of cache file, if None then cache in file will disabled. |
*factors | The caching factors that need to utilize next to conf_cache_factors . |
Static Method | me |
A static method that can be treated as a decorator to dynamically cache certain methods. |
Method | __del__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | cache |
Force update the cache. |
Method | cache |
Undocumented |
Instance Variable | cache |
Utilized during initializing this class, to determine if the cache was able to loaded from the specified cache path in 'cache_path'. |
Instance Variable | cache |
Undocumented |
Instance Variable | cache |
Hold the attributes that need be skipped from "in-memory cache". |
Class Variable | _cache |
Undocumented |
Instance Variable | _cache |
Undocumented |
Instance Variable | _cache |
Undocumented |