protected function _clean($mode = Zend_Cache::CLEANING_MODE_ALL,
$tags =
[]) { if (!
$this->_redis
) { return false;
} $result = true;
$all =
[];
if ($mode == Zend_Cache::CLEANING_MODE_ALL
) { return $this->_redis->
flushDb();
} if ($mode == Zend_Cache::CLEANING_MODE_OLD
) { return true;
} /* Redis takes care of expire */
if ($mode == Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG &&
$tags && (is_string($tags) ||
count($tags))) { return $this->
removeTag($tags);
} if ($mode == Zend_Cache::CLEANING_MODE_MATCHING_TAG &&
$tags && (is_string($tags) ||
count($tags) == 1
)) {