Super simple fake memcache client.
-
class CacheClient(region)
Bases: object
Replicates a tiny subset of memcached client interface.
-
add(key, value)
-
delete(key)
-
delete_multi(keys)
-
get(key)
-
get_multi(keys)
-
get_or_create(key, creator)
-
set(key, value)
-
get_client(expiration_time=0)
Used to get a caching client.
-
get_memcached_client(expiration_time=0)
Used ONLY when memcached is explicitly needed.
-
list_opts()
Entry point for oslo-config-generator.