Пример #1
0
 /**
  * {@inheritDoc}
  */
 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
 /**
  * {@inheritDoc}
  */
 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
 /**
  * {@inheritDoc}
  */
 function purge()
 {
     wincache_ucache_clear();
     parent::purge();
 }
Пример #4
0
 /**
  * {@inheritDoc}
  */
 function purge()
 {
     $this->redis->flushDB();
     parent::purge();
 }
Пример #5
0
 /**
  * {@inheritDoc}
  */
 function purge()
 {
     apc_clear_cache('user');
     parent::purge();
 }
Пример #6
0
 /**
  * {@inheritDoc}
  */
 function purge()
 {
     $this->memcache->flush();
     parent::purge();
 }