|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 49 of file class.ilShm.php.
References ilGlobalCacheService\$component, and ilGlobalCacheService\$service_id.
| ilShm::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 97 of file class.ilShm.php.
References $key.
| ilShm::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 62 of file class.ilShm.php.
References $key.
| ilShm::flush | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 106 of file class.ilShm.php.
References $id.
| ilShm::get | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 86 of file class.ilShm.php.
|
protected |
@description set self::$active
Reimplemented from ilGlobalCacheService.
Definition at line 29 of file class.ilShm.php.
|
protected |
@description set self::$installable
Reimplemented from ilGlobalCacheService.
Definition at line 38 of file class.ilShm.php.
| ilShm::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 119 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 75 of file class.ilShm.php.
References $key.
| ilShm::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 130 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 23 of file class.ilShm.php.
|
staticprotected |
Definition at line 19 of file class.ilShm.php.