noc.core.cache.memcached

Module Contents

noc.core.cache.memcached.logger
noc.core.cache.memcached.ignorable_memcache_errors
class noc.core.cache.memcached.MemcachedCache

Bases: noc.core.cache.base.BaseCache

Memcached backend

get(self, key, default=None, version=None)

Returns value or raise KeyError :param key: :param default: :param version: :return: value

set(self, key, value, ttl=None, version=None)

Set key :param key: :param value: :param ttl: :param version: :return:

delete(self, key, version=None)
get_many(self, keys, version=None)
set_many(self, data, ttl=None, version=None)
delete_many(self, keys, version=None)