(PECL memcached >= 0.1.0)
Memcached::deleteByKey — Elimina un elemento de un servidor específico
Memcached::deleteByKey() es funcionalmente equivalente a
Memcached::delete(), excepto por la variable libre
server_key que puede ser utilizada para dirigir la variable
key a un servidor específico.
server_keyThe key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
keyLa clave a eliminar.
timeLa duración de espera para la eliminación.
Nota: As of memcached 1.3.0 (released 2009) this feature is no longer supported. Passing a non-zero
timewill cause the deletion to fail. Memcached::getResultCode() will returnMEMCACHED_INVALID_ARGUMENTS.
Esta función retorna true en caso de éxito o false si ocurre un error.
El método Memcached::getResultCode() devuelve
Memcached::RES_NOTFOUND si la clave no existe.