public function load($id)
 {
     $filename = $this->_getFilenameByKey($id);
     if (!isset($this->_data[$id]) && file_exists($filename) && null !== ($cache_item = $this->_loadFile($filename))) {
         $this->_data[$id] = $cache_item;
     }
     return parent::load($id);
 }
 public function load($id)
 {
     if (!isset($this->_data[$id])) {
         //      check errors
         $this->_stat['io_read']++;
         $start = microtime(true);
         $cache_item = apc_fetch($id, $success);
         $end = microtime(true);
         $this->_stat['io_read_time'] += $end - $start;
         if ($success === true) {
             $this->_data[$id] = $cache_item;
         }
     }
     return parent::load($id);
 }
 public function load($id)
 {
     if (!isset($this->_data[$id])) {
         //      check errors
         $this->_stat['io_read']++;
         $start = microtime(true);
         $res = $this->_memcache->get(sha1($id));
         $end = microtime(true);
         $this->_stat['io_read_time'] += $end - $start;
         if ($res !== false) {
             $this->_data[$id] = $this->_decodeData($res);
         }
     }
     return parent::load($id);
 }