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

search for in the

MemcachedException> <Memcached::touch
[edit] Last updated: Fri, 07 Jun 2013

view this page in

Memcached::touchByKey

(PECL memcached >= 2.0.0)

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

Descrierea

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.

Parametri

server_key

Cheia ce identifică server-ul pe care se stochează valoarea.

key

Cheia sub care se stochează valoarea.

expiration

Timpul expirării, implicit este 0. Accesați Timpurile de expirare pentru informații suplimentare.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului. Utilizați Memcached::getResultCode() dacă e necesar.

Vedeți de asemenea



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