lithium\storage\cache\adapter\Memcache::clear()
Overrides
lithium\storage\cache\Adapter::clear()
Clears entire cache by flushing it. All cache keys using the configuration but without honoring the scope are removed.
Internally keys are not removed but invalidated. Thus this operation doesn't actually free memory on the instance.
The behavior and result when removing a single key during this process fails is unknown.
Returns
booleantrue
on successful clearing, false
otherwise.
Source
public function clear() {
return $this->connection->flush();
}