function memcache_wildcard_flushes in Memcache API and Integration 6
Sum of all matching wildcards. Checking any single cache item's flush value against this single-value sum tells us whether or not a new wildcard flush has affected the cached item.
2 calls to memcache_wildcard_flushes()
- cache_get in ./
memcache.inc - Return data from the persistent cache.
- cache_set in ./
memcache.inc - Store data in memcache.
2 string references to 'memcache_wildcard_flushes'
- cache_get in ./
memcache.inc - Return data from the persistent cache.
- memcache_wildcards in ./
memcache.inc - Utilize multiget to retrieve all possible wildcard matches, storing statically so multiple cache requests for the same item on the same page load doesn't add overhead.
File
- ./
memcache.inc, line 324
Code
function memcache_wildcard_flushes($cid, $table) {
return array_sum(memcache_wildcards($cid, $table));
}