lithium\storage\cache\adapter\Memcache::clear()

public method

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

boolean

true on successful clearing, false otherwise.

Source

	public function clear() {
		return $this->connection->flush();
	}