(PECL memcached >= 0.1.0)
Memcached::getMultiByKey — Retrieve multiple items from a specific server
$server_key
, array $keys
[, string &$cas_tokens
[, int $flags
]] )
Memcached::getMultiByKey() is functionally equivalent to
Memcached::getMulti(), 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.
keysArray of keys to retrieve.
cas_tokensThe variable to store the CAS tokens for the found items.
flagsThe flags for the get operation.
Returns the array of found items ou FALSE em caso de falha.
Use Memcached::getResultCode() se necessário.