protected function DrupalMemcacheFactory::memcacheFlush in Zircon Profile 8
Same name and namespace in other branches
- 8.0 modules/memcache/src/DrupalMemcacheFactory.php \Drupal\memcache\DrupalMemcacheFactory::memcacheFlush()
Flushes the memcache bin/server/cache mappings.
1 call to DrupalMemcacheFactory::memcacheFlush()
- DrupalMemcacheFactory::get in modules/
memcache/ src/ DrupalMemcacheFactory.php - Returns a Memcache object based on settings and the bin requested.
File
- modules/
memcache/ src/ DrupalMemcacheFactory.php, line 176 - Contains \Drupal\memcache\DrupalMemcacheFactory.
Class
- DrupalMemcacheFactory
- Factory class for creation of Memcache objects.
Namespace
Drupal\memcacheCode
protected function memcacheFlush() {
foreach ($this->memcacheCache as $cluster) {
memcache_close($cluster);
}
$this->memcacheCache = array();
}