Memcached
PHP Manual

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

Ключът, идентифициращ сървъра, на който да се съхранява стойността.

keys

Array of keys to request.

with_cas

Whether to request CAS token values also.

value_cb

The result callback or NULL.

Връщани стойности

Връща TRUE при успех или FALSE при неуспех. Ако е необходимо използвайте Memcached::getResultCode.

Вж. също


Memcached
PHP Manual