Memcached::deleteMultiByKey

(PECL memcached >= 2.0.0)

Memcached::deleteMultiByKeyDelete multiple items from a specific server

Açıklama

public Memcached::deleteMultiByKey(string $server_key, array $keys, int $time = 0): bool

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

Değiştirgeler

server_key

Değerin depolanacağı veya geri alınacağı sunucuyu tanımlayan anahtar. Hangi memcached sunucusuyla konuşulacağına karar verirken, öğe için gerçek anahtar yerine, sunucu anahtarına karıştırma uygulanır. Bu, çoklu işlemlerle verimlilik için ilgili öğelerin tek bir sunucuda gruplanmasına izin verir.

keys

The keys to be deleted.

time

The amount of time the server will wait to delete the items.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner. The Memcached::getResultCode() will return Memcached::RES_NOTFOUND if the key does not exist.

Ayrıca Bakınız

add a note add a note

User Contributed Notes

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