public function MemcacheBackend::deleteAll in Memcache API and Integration 8.2
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()
File
- src/
MemcacheBackend.php, line 330
Class
- MemcacheBackend
- Defines a Memcache cache backend.
Namespace
Drupal\memcacheCode
public function deleteAll() {
if ($this
->debug()) {
$this
->getLogger('memcache')
->debug('Called deleteAll() on bin @bin', [
'@bin' => $this->bin,
]);
}
$this->lastBinDeletionTime = $this->timestampInvalidator
->invalidateTimestamp($this->bin);
}