(PECL memcached >= 0.1.0)
Memcached::appendByKey — Append data to an existing item on a specific server
$server_key
, string $key
, string $value
)
Memcached::appendByKey() is functionally equivalent to
Memcached::append(), except that the free-form
server_key can be used to map the
key 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.
keyA chave sobre a qual guardar o valor.
valueThe string to append.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
The Memcached::getResultCode() will return
Memcached::RES_NOTSTORED if the key does not exist.