56        self::$active[get_called_class()] = $this->
getActive();
 
   86    abstract public function get(
$key);
 
   96    abstract public function set(
$key, $serialized_value, $ttl = 
null);
 
  148        return self::$active[get_called_class()];
 
  157        return self::$installable[get_called_class()];
 
  187            return 'Not installed';
 
  190            return 'Not enough Cache-Memory, set to at least ' . $this->
getMinMemory() . 
'M';
 
  193        return 'Unknown reason';
 
  222        if (preg_match(
'/([0-9]*)([M|K])/uism', $memory_limit, $matches)) {
 
  223            switch ($matches[2]) {
 
  225                    $memory_limit = $matches[1] * 1024 * 1024; 
 
  228                    $memory_limit = $matches[1] * 1024; 
 
  232            $memory_limit = $memory_limit * 1024 * 1024; 
 
  235        return ($memory_limit >= $this->
getMinMemory() * 1024 * 1024);
 
  252    abstract public function delete(
$key);
 
  291        $this->valid_keys[
$key] = 
true;
 
  308            unset($this->valid_keys[
$key]);
 
  310            unset($this->valid_keys);
 
  327        return isset($this->valid_keys[
$key]);
 
An exception for terminatinating execution or to throw for unit testing.
Class ilGlobalCacheService.
unserialize($serialized_value)
__construct($service_id, $component)
setServiceType($service_type)
setValid($key)
Declare a key as valid.
setInvalid($key=null)
Set the key as invalid.
setServiceId($service_id)
getInstallationFailureReason()
isValid($key)
Checks whether the cache key is valid or not.