(PECL memcached >= 2.0.0)
Memcached::deleteMultiByKey — Delete multiple items from a specific server
$server_key
, array $keys
[, int $time = 0
] ) : bool
Memcached::deleteMultiByKey() is functionally equivalent to
Memcached::deleteMulti(), except that the free-form
server_key can be used to map the
keys to a specific server.
server_keyA chave identificando o servidor onde armazenar ou recuperar o valor. Em vez de fazer o hash do item, é feito o hash da chave do servidor quando decidindo com qual servidor memcached conectar. Isto permite que itens relacionados sejam agrupados em um único servidor para maior eficiência de operações múltiplas.
keysThe keys to be deleted.
timeThe amount of time the server will wait to delete the items.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
The Memcached::getResultCode() will return
Memcached::RES_NOTFOUND if the key does not exist.