(PECL memcached >= 2.0.0)
Memcached::deleteMultiByKey — Delete multiple items from a specific server
$server_key
, array $keys
[, int $time
= 0
] )
Memcached::deleteMultiByKey() is functionally equivalent to
Memcached::deleteMulti(), except that the free-form
server_key
can be used to map the
keys
to a specific server.
server_key
此键名标识存储值的服务器。
keys
The keys to be deleted.
time
The amount of time the server will wait to delete the items.
成功时返回 TRUE
, 或者在失败时返回 FALSE
.
The Memcached::getResultCode() will return
Memcached::RES_NOTFOUND
if the key does not exist.