|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for ilXcache:
Collaboration diagram for ilXcache:Public Member Functions | |
| __construct ($serviceId, $component) | |
| ilXcache constructor. More... | |
| exists ($key) | |
| set ($key, $serialized_value, $ttl=null) | |
| get ($key) | |
| delete ($key) | |
| flush ($complete=false) | |
| serialize ($value) | |
| unserialize ($serialized_value) | |
| getInfo () | |
| __destruct () | |
Public Member Functions inherited from ilGlobalCacheService | |
| __construct ($service_id, $component) | |
| unserialize ($serialized_value) | |
| get ($key) | |
| set ($key, $serialized_value, $ttl=null) | |
| serialize ($value) | |
| getServiceId () | |
| setServiceId ($service_id) | |
| getComponent () | |
| setComponent ($component) | |
| isActive () | |
| isInstallable () | |
| returnKey ($key) | |
| getInfo () | |
| getInstallationFailureReason () | |
| exists ($key) | |
| delete ($key) | |
| flush ($complete=false) | |
| setServiceType ($service_type) | |
| getServiceType () | |
| setValid ($key) | |
| Declare a key as valid. More... | |
| setInvalid ($key=null) | |
| Set the key as invalid. More... | |
| isValid ($key) | |
| Checks whether the cache key is valid or not. More... | |
Data Fields | |
| const | MIN_MEMORY = 32 |
Protected Member Functions | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| saveValid () | |
| readValid () | |
Protected Member Functions inherited from ilGlobalCacheService | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| checkMemory () | |
Additional Inherited Members | |
Protected Attributes inherited from ilGlobalCacheService | |
| $current_time = 0 | |
| $valid_keys = array() | |
| $service_id = '' | |
| $component = '' | |
| $service_type = ilGlobalCache::TYPE_STATIC | |
| $valid_key_hash = '' | |
Static Protected Attributes inherited from ilGlobalCacheService | |
| static | $active = array() |
| static | $installable = array() |
Class ilXcache.
Concrete XCache implementation.
Definition at line 12 of file class.ilXcache.php.
| ilXcache::__construct | ( | $serviceId, | |
| $component | |||
| ) |
ilXcache constructor.
| $serviceId | |
| $component |
Reimplemented from ilGlobalCacheService.
Definition at line 23 of file class.ilXcache.php.
References ilGlobalCacheService\$component, and readValid().
Here is the call graph for this function:| ilXcache::__destruct | ( | ) |
Definition at line 195 of file class.ilXcache.php.
References saveValid().
Here is the call graph for this function:| ilXcache::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 70 of file class.ilXcache.php.
References $key, and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilXcache::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 35 of file class.ilXcache.php.
References $key, and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilXcache::flush | ( | $complete = false | ) |
| bool | $complete |
Reimplemented from ilGlobalCacheService.
Definition at line 81 of file class.ilXcache.php.
References $_SERVER.
| ilXcache::get | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 59 of file class.ilXcache.php.
References $key, and ilGlobalCacheService\returnKey().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 117 of file class.ilXcache.php.
References ilGlobalCacheService\$active.
| ilXcache::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 142 of file class.ilXcache.php.
References ilGlobalCacheService\isActive().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 133 of file class.ilXcache.php.
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 153 of file class.ilXcache.php.
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 162 of file class.ilXcache.php.
References MIN_MEMORY.
|
protected |
@description set self::$valid_keys from GlobalCache
Definition at line 187 of file class.ilXcache.php.
References ilGlobalCacheService\isActive(), ilGlobalCacheService\isInstallable(), serialize(), and unserialize().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
@description save self::$valid_keys to GlobalCache
Definition at line 172 of file class.ilXcache.php.
References ilGlobalCacheService\isActive(), and serialize().
Referenced by __destruct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXcache::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 97 of file class.ilXcache.php.
References serialize().
Referenced by readValid(), saveValid(), and serialize().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXcache::set | ( | $key, | |
| $serialized_value, | |||
$ttl = null |
|||
| ) |
| $key | ||
| $serialized_value | ||
| null | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 48 of file class.ilXcache.php.
References $key, and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilXcache::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 108 of file class.ilXcache.php.
References unserialize().
Referenced by readValid(), and unserialize().
Here is the call graph for this function:
Here is the caller graph for this function:| const ilXcache::MIN_MEMORY = 32 |
Definition at line 14 of file class.ilXcache.php.
Referenced by getMinMemory().