keystone.common.cache.backends package

Submodules

keystone.common.cache.backends.memcache_pool module

This module is deprecated.

class keystone.common.cache.backends.memcache_pool.PooledMemcachedBackend(*args, **kwargs)[source]

Bases: oslo_cache.backends.memcache_pool.PooledMemcachedBackend

keystone.common.cache.backends.mongo module

class keystone.common.cache.backends.mongo.MongoCacheBackend(*args, **kwargs)[source]

Bases: oslo_cache.backends.mongo.MongoCacheBackend

keystone.common.cache.backends.noop module

class keystone.common.cache.backends.noop.NoopCacheBackend(*args, **kwargs)[source]

Bases: dogpile.cache.api.CacheBackend

A no op backend as a default caching backend.

The no op backend is provided as the default caching backend for keystone to ensure that dogpile.cache.memory is not used in any real-world circumstances unintentionally. dogpile.cache.memory does not have a mechanism to cleanup it’s internal dict and therefore could cause run-away memory utilization.

delete(key)[source]
delete_multi(keys)[source]
get(key)[source]
get_multi(keys)[source]
set(key, value)[source]
set_multi(mapping)[source]

Module contents