Memcached
PHP 手册

Memcached::getDelayedByKey

(PECL memcached >= 0.1.0)

Memcached::getDelayedByKeyRequest multiple items from a specific server

说明

public bool Memcached::getDelayedByKey ( string $server_key , array $keys [, bool $with_cas [, callback $value_cb ]] )

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

参数

server_key

The key identifying the server to request the items from.

keys

Array of keys to request.

with_cas

Whether to request CAS token values also.

value_cb

The result callback or NULL.

返回值

如果成功则返回 TRUE,失败则返回 FALSE。 Use Memcached::getResultCode if necessary.

参见


Memcached
PHP 手册