fictive.cache.base module¶
Basic implementations of the AbstractCache interface
Classes
Cache implementation using a class attribute as the backing store |
|
Cache implementation using an instance variable as the backing store |
-
class
fictive.cache.base.ClassVariableCache(cache_name='default', *args, **kwargs)[source]¶ Bases:
fictive.cache.abstract.AbstractCacheCache implementation using a class attribute as the backing store
(instances share a common backing store keyed by
cache_name)
-
class
fictive.cache.base.InstanceVariableCache(*args, fetch_impl=None, **kwargs)[source]¶ Bases:
fictive.cache.abstract.AbstractCacheCache implementation using an instance variable as the backing store
(each instance will have a separate backing store)