/**
* PUBLIC METHOD FOR UNIT TESTING ONLY !
*
* Force a cache record to expire
*
* @param string $id cache id
*/
public function ___expire($id) { $this->_fastBackend->
remove($id);
$this->_slowBackend->
___expire($id);
} private function _getFastFillingPercentage($mode) { if ($mode == 'saving'
) { // mode saving
if ($this->_fastBackendFillingPercentage === null
) { $this->_fastBackendFillingPercentage =
$this->_fastBackend->
getFillingPercentage();
} else { $rand = Shopware\Components\Random::
getInteger(1,
$this->_options
['stats_update_factor'
]);