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

Descrizione

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.

Elenco dei parametri

server_key

la chiave che identifica il server su cui salvare il valore.

key

La chiave in cui salvare il valore.

expiration

La data di scadenza, il default รจ 0. Vedere Date di scadenza per ulteriori informazioni.

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento. Utilizzare Memcached:getResultCode() se necessario.

Vedere anche:



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