You are here

public function MemcachedBackend::deleteAll in Memcache Storage 8

Deletes all cache items in a bin.

Overrides CacheBackendInterface::deleteAll

See also

\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()

\Drupal\Core\Cache\CacheBackendInterface::delete()

\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()

1 call to MemcachedBackend::deleteAll()
MemcachedBackend::invalidateAll in src/MemcachedBackend.php
Marks all cache items as invalid.

File

src/MemcachedBackend.php, line 182

Class

MemcachedBackend

Namespace

Drupal\memcache_storage

Code

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