コード例 #1
0
ファイル: CacheLog.php プロジェクト: thumbtack/querycache
 /**
  * @inheritdoc
  */
 public function delete($key_or_keys)
 {
     $start = microtime(true);
     $res = $this->instance->delete($key_or_keys);
     $this->update_stats(__FUNCTION__, $start, $key_or_keys);
     return $res;
 }
コード例 #2
0
ファイル: CacheProxy.php プロジェクト: staabm/thincache
 /**
  * (non-PHPdoc)
  * @see CacheInterface::delete()
  */
 public function delete($key)
 {
     $this->proxyStore->delete($key);
     $this->backend->delete($key);
 }
コード例 #3
0
ファイル: CacheInMemory.php プロジェクト: staabm/thincache
 /**
  * (non-PHPdoc)
  * @see Cache::delete()
  */
 public function delete($key)
 {
     $this->init();
     return $this->backend->delete($key);
 }