protected function clearOneObjectFromCache($key)
{
$this->commit();
$key = $this->getHierarchyKey($key, $path);
$this->cache->increment($path, 1, 0);
$this->clearHierarchyKeyCache();
if ($this->cache->delete($key)) {
return true;
}
// Return true if key not found
return $this->cache->getResultCode() === \Memcached::RES_NOTFOUND;
}