Memcached::touchByKey
PHP function
Edit on GitHub ✎
(PECL memcached >= 2.0.0)
Set a new expiration on an item on a specific server
Description
Memcached::touchByKey(string $server_key, string $key, int $expiration = 0): bool
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.
Parameters
server_keyServer_key
keyKey
expirationExpiration
Return Values
Success Getresultcode
See Also
Memcached::touch