(PECL memcached >= 2.0.0)
Memcached::touchByKey — Set a new expiration on an item on a specific server
$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.
成功时返回 TRUE
, 或者在失败时返回 FALSE
.
如需要则使用 Memcached::getResultCode()。