Statement on glibc/iconv Vulnerability

Memcached::getDelayedByKey

(PECL memcached >= 0.1.0)

Memcached::getDelayedByKeyRequest multiple items from a specific server

Descrizione

public Memcached::getDelayedByKey(
    string $server_key,
    array $keys,
    bool $with_cas = false,
    ?callable $value_cb = null
): bool

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.

Elenco dei parametri

server_key

La chiave che identifica il server su cui salvare il valore. Invece di effettuare li'hashing sulla chiave dell'elemento, si effettua l'hashing della chiave del server al momento di decidere con quale server memcached comunicare. Questo permette di raggruppare gli elementi correlati ad un singolo server ottenendo maggiore efficienza nelle operazioni multiple.

keys

Array of keys to request.

with_cas

Whether to request CAS token values also.

value_cb

The result callback or null.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento. Utilizzare Memcached:getResultCode() se necessario.

Vedere anche:

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top