You are here

protected function MemcacheStorage::removeCacheIDs in Memcache Storage 7

Remove list of cache IDs from the list of cache IDs which are used in the cache bin.

Parameters

$cids: Array with cache IDs.

1 call to MemcacheStorage::removeCacheIDs()
MemcacheStorage::clear in ./memcache_storage.inc
Implements DrupalCacheInterface::clear().

File

./memcache_storage.inc, line 362
Provides class for memcached data handling.

Class

MemcacheStorage
Class handles memcached cache objects.

Code

protected function removeCacheIDs($cids) {
  foreach ($cids as $cid) {
    unset($this->cache_ids[$cid]);
  }
  MemcacheStorageAPI::set('memcache_storage_cids', $this->cache_ids, CACHE_PERMANENT, $this
    ->cacheBinName());
}