|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | ||||
| 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 () | ||||
| 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 92 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 60 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::flush | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 100 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 82 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 108 of file class.ilMemcache.php.
References $server, getInstallable(), and getMemcacheObject().
Here is the call graph for this function:| ilMemcache::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 176 of file class.ilMemcache.php.
References getMemcacheObject().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 132 of file class.ilMemcache.php.
Referenced by getActive().
Here is the caller graph for this function:| ilMemcache::getInstallationFailureReason | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 140 of file class.ilMemcache.php.
References getMemcacheObject().
Here is the call graph for this function:
|
protected |
Definition at line 50 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 192 of file class.ilMemcache.php.
| ilMemcache::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 158 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 72 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilMemcache::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 168 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 17 of file class.ilMemcache.php.
Referenced by getMemcacheObject().