Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Clear cache 

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/RamCache.py   erp5(Download)
  def clearCache(self):
    BaseCache.clearCache(self)
    self.getCacheStorage().clear()
 
  def clearCacheForScope(self, scope):

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/DistributedRamCache.py   erp5(Download)
    Use expiration time instead.
    """
    BaseCache.clearCache(self)
    LOG('DistributedRamCache', WARNING, 'not allowed to clear memcache storage')