Inheritance: extends HamCache
Esempio n. 1
0
 /**
  * check if there is a in-server backend available
  *
  * @return bool
  */
 public static function isAvailableLowLatency()
 {
     return XCache::isAvailable() || APCu::isAvailable() || APC::isAvailable();
 }
Esempio n. 2
0
 /**
  * @covers   APC::exists
  * @return   void             No value is returned
  */
 public function testExistsAfterForget()
 {
     $this->assertFalse($this->object->exists('not-exists'));
     $this->assertFalse($this->object->exists('exists'));
 }