class DefaultCacheConfiglet(object): interface.implements(ICacheConfiglet) def __init__(self): self.cache = RAMCache() def query(self, id, key, default=None): return self.cache.query(id, key, default) def set(self, data, id, key): self.cache.set(data, id, key)
def __init__(self): self.cache = RAMCache()