public function Redis_Cache_Predis::flushVolatile in Redis 7.3
File
- lib/
Redis/ Cache/ Predis.php, line 137
Class
- Redis_Cache_Predis
- Predis cache backend.
Code
public function flushVolatile() {
$client = $this
->getClient();
$ret = $client
->eval(self::EVAL_DELETE_VOLATILE, 0, $this
->getKey('*'));
if (1 != $ret) {
trigger_error(sprintf("EVAL failed: %s", $client
->getLastError()), E_USER_ERROR);
}
}