You are here

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

MemcachedBackend

Namespace

Drupal\memcache_storage

Code

public function removeBin() {
  $this->memcached
    ->flush($this->bin);
}