You are here

public function Redis_Cache_Predis::deleteMultiple in Redis 7.3

File

lib/Redis/Cache/Predis.php, line 110

Class

Redis_Cache_Predis
Predis cache backend.

Code

public function deleteMultiple(array $idList) {
  $pipe = $this
    ->getClient()
    ->pipeline();
  foreach ($idList as $id) {
    $pipe
      ->del($this
      ->getKey($id));
  }
  $pipe
    ->execute();
}