@API.register<EOL><INDENT>@API.aiocache_enabled(fake_return=True)<EOL>@API.timeout<EOL>@API.plugins<EOL>async def clear(self, namespace=None, _conn=None):<DEDENT>
start = time.monotonic()<EOL>ret = await self._clear(namespace, _conn=_conn)<EOL>logger.debug("<STR_LIT>", namespace, ret, time.monotonic() - start)<EOL>return ret<EOL>
Clears the cache in the cache namespace. If an alternative namespace is given, it will
clear those ones instead.

:param namespace: str alternative namespace to use
:param timeout: int or float in seconds specifying maximum timeout
    for the operations to last
:returns: True
:raises: :class:`asyncio.TimeoutError` if it lasts more than self.timeout