|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMemcache. More...
Inheritance diagram for ilMemcache:
Collaboration diagram for ilMemcache:Public Member Functions | ||||
| exists ($key) | ||||
| set ($key, $serialized_value, $ttl=null) | ||||
| get ($key) | ||||
| delete ($key) | ||||
| flush ($complete=false) | ||||
| getInstallationFailureReason () | ||||
| serialize ($value) | ||||
| unserialize ($serialized_value) | ||||
| getInfo () | ||||
| isValid ($key) | ||||
Checks whether the cache key is valid or not.This method exists only for legacy reasons and has only a real function in combination with XCache.
| ||||
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... | ||||
Protected Member Functions | |
| getMemcacheObject () | |
| getActive () | |
| getInstallable () | |
Protected Member Functions inherited from ilGlobalCacheService | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| checkMemory () | |
Static Protected Attributes | |
| static | $memcache_object |
Static Protected Attributes inherited from ilGlobalCacheService | |
| static | $active = array() |
| static | $installable = array() |
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 = '' | |
| ilMemcache::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 104 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 68 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::flush | ( | $complete = false | ) |
| bool | $complete |
Reimplemented from ilGlobalCacheService.
Definition at line 115 of file class.ilMemcache.php.
References getMemcacheObject().
Here is the call graph for this function:| ilMemcache::get | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 93 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 125 of file class.ilMemcache.php.
References $server, Sabre\VObject\$stats, getInstallable(), and getMemcacheObject().
Here is the call graph for this function:| ilMemcache::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 198 of file class.ilMemcache.php.
References $key, and getMemcacheObject().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 150 of file class.ilMemcache.php.
Referenced by getActive().
Here is the caller graph for this function:| ilMemcache::getInstallationFailureReason | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 159 of file class.ilMemcache.php.
References Sabre\VObject\$stats, and getMemcacheObject().
Here is the call graph for this function:
|
protected |
Definition at line 57 of file class.ilMemcache.php.
References $memcache_object.
Referenced by delete(), exists(), flush(), get(), getActive(), getInfo(), getInstallationFailureReason(), and set().
Here is the caller graph for this function:| ilMemcache::isValid | ( | $key | ) |
Checks whether the cache key is valid or not.This method exists only for legacy reasons and has only a real function in combination with XCache.
| string | $key | The key which should be checked. |
Reimplemented from ilGlobalCacheService.
Definition at line 215 of file class.ilMemcache.php.
| ilMemcache::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 178 of file class.ilMemcache.php.
References serialize().
Referenced by serialize().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemcache::set | ( | $key, | |
| $serialized_value, | |||
$ttl = null |
|||
| ) |
| $key | ||
| $serialized_value | ||
| null | int | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 81 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 189 of file class.ilMemcache.php.
References unserialize().
Referenced by unserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 18 of file class.ilMemcache.php.
Referenced by getMemcacheObject().