コード例 #1
0
 /**
  * Purge cache data
  *
  * @return void
  */
 function purge()
 {
     foreach (eaccelerator_list_keys() as $var) {
         // @todo Check why the substr()
         // @todo Only unset vars matching $this->key_prefix
         eaccelerator_rm(substr($var['name'], 1));
     }
     parent::purge();
 }
コード例 #2
0
ファイル: acm_xcache.php プロジェクト: eyumay/ju.ejhs
 /**
  * Purge cache data
  *
  * @return null
  */
 function purge()
 {
     // Run before for XCache, if admin functions are disabled it will terminate execution
     parent::purge();
     // If the admin authentication is enabled but not set up, this will cause a nasty error.
     // Not much we can do about it though.
     $n = xcache_count(XC_TYPE_VAR);
     for ($i = 0; $i < $n; $i++) {
         xcache_clear_cache(XC_TYPE_VAR, $i);
     }
 }
コード例 #3
0
ファイル: acm_apc.php プロジェクト: eyumay/ju.ejhs
 /**
  * Purge cache data
  *
  * @return null
  */
 function purge()
 {
     apc_clear_cache('user');
     parent::purge();
 }
コード例 #4
0
 /**
  * Purge cache data
  *
  * @return void
  */
 function purge()
 {
     $this->redis->flushDB();
     parent::purge();
 }
コード例 #5
0
ファイル: acm_memcache.php プロジェクト: noprom/cryptdb
 /**
  * Purge cache data
  *
  * @return void
  */
 function purge()
 {
     $this->memcache->flush();
     parent::purge();
 }
コード例 #6
0
ファイル: acm_wincache.php プロジェクト: eyumay/ju.ejhs
 /**
  * Purge cache data
  *
  * @return null
  */
 function purge()
 {
     wincache_ucache_clear();
     parent::purge();
 }