|
ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilMemcache. More...
Inheritance diagram for ilMemcache:
Collaboration diagram for ilMemcache:Public Member Functions | |
| __construct ($service_id, $component) | |
| exists ($key) | |
| set ($key, $serialized_value, $ttl=NULL) | |
| get ($key) | |
| delete ($key) | |
| flush () | |
| getInstallationFailureReason () | |
| serialize ($value) | |
| unserialize ($serialized_value) | |
| getInfo () | |
Public Member Functions inherited from ilGlobalCacheService | |
| __destruct () | |
| getServiceId () | |
| setServiceId ($service_id) | |
| setValid ($key) | |
| getComponent () | |
| setComponent ($component) | |
| setInvalid ($key=NULL) | |
| isValid ($key) | |
| isActive () | |
| isInstallable () | |
| returnKey ($key) | |
| setServiceType ($service_type) | |
| getServiceType () | |
Data Fields | |
| const | STD_SERVER = '127.0.0.1' |
| const | STD_PORT = 11211 |
Protected Member Functions | |
| getMemcacheObject () | |
| getActive () | |
| getInstallable () | |
Protected Member Functions inherited from ilGlobalCacheService | |
| saveValid () | |
| readValid () | |
| getMemoryLimit () | |
| getMinMemory () | |
| checkMemory () | |
Static Protected Attributes | |
| static | $servers |
| 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::__construct | ( | $service_id, | |
| $component | |||
| ) |
| $service_id | |
| $component |
Reimplemented from ilGlobalCacheService.
Definition at line 31 of file class.ilMemcache.php.
References ilGlobalCacheService\$component, ilGlobalCacheService\$service_id, and getInstallable().
Here is the call graph for this function:| ilMemcache::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 88 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 56 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 96 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 78 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 104 of file class.ilMemcache.php.
References getInstallable(), getMemcacheObject(), and STD_PORT.
Here is the call graph for this function:| ilMemcache::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 160 of file class.ilMemcache.php.
References getMemcacheObject().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 116 of file class.ilMemcache.php.
Referenced by __construct(), and getActive().
Here is the caller graph for this function:| ilMemcache::getInstallationFailureReason | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 124 of file class.ilMemcache.php.
References getMemcacheObject().
Here is the call graph for this function:
|
protected |
Definition at line 46 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::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 142 of file class.ilMemcache.php.
| ilMemcache::set | ( | $key, | |
| $serialized_value, | |||
$ttl = NULL |
|||
| ) |
| $key | ||
| $serialized_value | ||
| null | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 68 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 152 of file class.ilMemcache.php.
|
staticprotected |
Definition at line 24 of file class.ilMemcache.php.
Referenced by getMemcacheObject().
|
staticprotected |
Definition at line 18 of file class.ilMemcache.php.
| const ilMemcache::STD_PORT = 11211 |
Definition at line 14 of file class.ilMemcache.php.
Referenced by getActive().
| const ilMemcache::STD_SERVER = '127.0.0.1' |
Definition at line 13 of file class.ilMemcache.php.