|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilShm:
Collaboration diagram for ilShm:Public Member Functions | |
| __construct ($service_id, $component) | |
| exists ($key) | |
| set ($key, $serialized_value, $ttl=null) | |
| get ($key) | |
| delete ($key) | |
| flush () | |
| serialize ($value) | |
| unserialize ($serialized_value) | |
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 | |
| getActive () | |
| @description set self::$active More... | |
| getInstallable () | |
| @description set self::$installable More... | |
Protected Member Functions inherited from ilGlobalCacheService | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| checkMemory () | |
Static Protected Attributes | |
| static | $shm_id = null |
| static | $block_size = 0 |
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 = '' | |
Class ilShm.
@beta http://php.net/manual/en/shmop.examples-basic.php
Definition at line 13 of file class.ilShm.php.
| ilShm::__construct | ( | $service_id, | |
| $component | |||
| ) |
| $service_id | |
| $component |
Reimplemented from ilGlobalCacheService.
Definition at line 46 of file class.ilShm.php.
References ilGlobalCacheService\$component, and ilGlobalCacheService\$service_id.
| ilShm::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 90 of file class.ilShm.php.
| ilShm::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 58 of file class.ilShm.php.
| ilShm::flush | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 98 of file class.ilShm.php.
| ilShm::get | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 80 of file class.ilShm.php.
|
protected |
@description set self::$active
Reimplemented from ilGlobalCacheService.
Definition at line 28 of file class.ilShm.php.
|
protected |
@description set self::$installable
Reimplemented from ilGlobalCacheService.
Definition at line 36 of file class.ilShm.php.
| ilShm::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 110 of file class.ilShm.php.
References serialize().
Referenced by serialize().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShm::set | ( | $key, | |
| $serialized_value, | |||
$ttl = null |
|||
| ) |
| $key | ||
| $serialized_value | ||
| null | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 70 of file class.ilShm.php.
| ilShm::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 120 of file class.ilShm.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 22 of file class.ilShm.php.
|
staticprotected |
Definition at line 18 of file class.ilShm.php.