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

search for in the

Memcached::fetch> <Memcached::delete
[edit] Last updated: Sat, 07 Jan 2012

view this page in

Memcached::deleteByKey

(PECL memcached >= 0.1.0)

Memcached::deleteByKeyDelete an item from a specific server

설명

public bool Memcached::deleteByKey ( string $server_key , string $key [, int $time = 0 ] )

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

인수

server_key

값을 저장할 서버를 인식하는 키.

key

The key to be deleted.

time

The amount of time the server will wait to delete the item.

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다. The Memcached::getResultCode() will return Memcached::RES_NOTFOUND if the key does not exist.

참고



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

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