|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilApc:
Collaboration diagram for ilApc:Public Member Functions | ||||
| exists ($key) | ||||
| set ($key, $serialized_value, $ttl=0) | ||||
| get ($key) | ||||
| delete ($key) | ||||
| flush ($complete=false) | ||||
| 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... | ||||
Data Fields | |
| const | MIN_MEMORY = 16 |
| const | CACHE_ID = 'user' |
Protected Member Functions | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| @inheritDoc More... | |
Protected Member Functions inherited from ilGlobalCacheService | |
| getActive () | |
| getInstallable () | |
| getMemoryLimit () | |
| getMinMemory () | |
| checkMemory () | |
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 = '' | |
Static Protected Attributes inherited from ilGlobalCacheService | |
| static | $active = array() |
| static | $installable = array() |
| ilApc::delete | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 64 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilApc::exists | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 25 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilApc::flush | ( | $complete = false | ) |
| bool | $complete |
Reimplemented from ilGlobalCacheService.
Definition at line 75 of file class.ilApc.php.
| ilApc::get | ( | $key | ) |
| $key |
Reimplemented from ilGlobalCacheService.
Definition at line 53 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 138 of file class.ilApc.php.
| ilApc::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 107 of file class.ilApc.php.
References ilGlobalCacheService\getComponent(), and ilGlobalCacheService\getServiceId().
Here is the call graph for this function:
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 147 of file class.ilApc.php.
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 156 of file class.ilApc.php.
References ilRuntime\getInstance(), and getMinMemory().
Here is the call graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilGlobalCacheService.
Definition at line 169 of file class.ilApc.php.
References MIN_MEMORY.
Referenced by getMemoryLimit().
Here is the caller graph for this function:| ilApc::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 178 of file class.ilApc.php.
| ilApc::serialize | ( | $value | ) |
| $value |
Reimplemented from ilGlobalCacheService.
Definition at line 87 of file class.ilApc.php.
| ilApc::set | ( | $key, | |
| $serialized_value, | |||
$ttl = 0 |
|||
| ) |
| $key | ||
| $serialized_value | ||
| int | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 42 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
Here is the call graph for this function:| ilApc::unserialize | ( | $serialized_value | ) |
| $serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 98 of file class.ilApc.php.
| const ilApc::CACHE_ID = 'user' |
Definition at line 17 of file class.ilApc.php.
| const ilApc::MIN_MEMORY = 16 |
Definition at line 16 of file class.ilApc.php.
Referenced by getMinMemory().