protected function MemcacheStorage::removeCacheID in Memcache Storage 7
Remove cache ID from the list of cache IDs which are used in the cache bin.
Parameters
$cid: Cache ID.
2 calls to MemcacheStorage::removeCacheID()
- MemcacheStorage::clear in ./
memcache_storage.inc - Implements DrupalCacheInterface::clear().
- MemcacheStorage::validateItem in ./
memcache_storage.inc - Validates cache item. Checks if it is still valid and not expired.
File
- ./
memcache_storage.inc, line 348 - Provides class for memcached data handling.
Class
- MemcacheStorage
- Class handles memcached cache objects.
Code
protected function removeCacheID($cid) {
if (isset($this->cache_ids[$cid])) {
unset($this->cache_ids[$cid]);
MemcacheStorageAPI::set('memcache_storage_cids', $this->cache_ids, CACHE_PERMANENT, $this
->cacheBinName());
}
}