downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

mqseries> <Memcached::touch
[edit] Last updated: Fri, 17 May 2013

view this page in

Memcached::touchByKey

(PECL memcached >= 2.0.0)

Memcached::touchByKeySet a new expiration on an item on a specific server

Descrição

public bool Memcached::touchByKey ( string $server_key , string $key , int $expiration )

Memcached::touchByKey() is functionally equivalent to Memcached::touch(), except that the free-form server_key can be used to map the key to a specific server.

Parâmetros

server_key

A chave identificando o servidor aonde guardar o valor.

key

A chave sobre a qual guardar o valor.

expiration

O tempo de expiração, padrão é 0. Veja Tempos de Expiração para maiores informações.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha. Use Memcached::getResultCode() se necessário.

Veja Também



add a note add a note User Contributed Notes Memcached::touchByKey - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites