ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | ||||
exists ($key) | ||||
set ($key, $serialized_value, $ttl=0) | ||||
get ($key) | ||||
delete ($key) | ||||
flush () | ||||
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.
| ||||
![]() | ||||
__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... | ||||
Data Fields | |
const | MIN_MEMORY = 16 |
const | CACHE_ID = 'user' |
Protected Member Functions | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
@inheritDoc More... | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Additional Inherited Members | |
![]() | |
$current_time = 0 | |
$valid_keys = array() | |
$service_id = '' | |
$component = '' | |
$service_type = ilGlobalCache::TYPE_STATIC | |
$valid_key_hash = '' | |
![]() | |
static | $active = array() |
static | $installable = array() |
ilApc::delete | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 64 of file class.ilApc.php.
References $key, and ilGlobalCacheService\returnKey().
ilApc::exists | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 25 of file class.ilApc.php.
References $key, and ilGlobalCacheService\returnKey().
ilApc::flush | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 73 of file class.ilApc.php.
ilApc::get | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 53 of file class.ilApc.php.
References $key, and ilGlobalCacheService\returnKey().
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 135 of file class.ilApc.php.
ilApc::getInfo | ( | ) |
Reimplemented from ilGlobalCacheService.
Definition at line 104 of file class.ilApc.php.
References $key, ilGlobalCacheService\getComponent(), and ilGlobalCacheService\getServiceId().
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 144 of file class.ilApc.php.
|
protected |
Reimplemented from ilGlobalCacheService.
Definition at line 153 of file class.ilApc.php.
References ilRuntime\getInstance(), and getMinMemory().
|
protected |
@inheritDoc
Reimplemented from ilGlobalCacheService.
Definition at line 166 of file class.ilApc.php.
References MIN_MEMORY.
Referenced by getMemoryLimit().
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 175 of file class.ilApc.php.
ilApc::serialize | ( | $value | ) |
$value |
Reimplemented from ilGlobalCacheService.
Definition at line 84 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 $key, and ilGlobalCacheService\returnKey().
ilApc::unserialize | ( | $serialized_value | ) |
$serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 95 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().