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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Mark a read operation from cache 

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/RamCache.py   erp5(Download)
      if not cache_entry.isExpired():
        #The value is well retrieved from cache storage
        self.markCacheHit()
        return cache_entry
      else:

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/DistributedRamCache.py   erp5(Download)
      # check it by ourselves.
      if not cache_entry.isExpired():
        self.markCacheHit()
        return cache_entry
      else: