public function MemcachedBackend::removeBin in Memcache Storage 8
We could just leave this method empty, because memcached doesn't support real deletion of cache bin. But instead we increase the bin internal index to catch the case when the bin was removed and then added again.
Overrides CacheBackendInterface::removeBin
File
- src/
MemcachedBackend.php, line 220
Class
Namespace
Drupal\memcache_storageCode
public function removeBin() {
$this->memcached
->flush($this->bin);
}