Exemple #1
0
 /**
  * Session destroy handler.
  * Do not call this method directly.
  * @param string $id session ID
  * @return boolean whether session is destroyed successfully
  */
 public function destroySession($id)
 {
     return (bool) $this->ssdb->del($this->calculateKey($id));
 }
Exemple #2
0
 /**
  * @return boolean whether the flush operation was successful.
  */
 protected function flushValues()
 {
     $this->ssdb->multi_del($this->getkeys());
     return $this->ssdb->hclear($this->cache_keys_hash);
 }
Exemple #3
0
 /**
  * @see InterfaceCache
  */
 public function clear()
 {
     $this->_oSsdb->flushdb();
 }