ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMemcache. More...
Public Member Functions | |
exists ($key) | |
set ($key, $serialized_value, $ttl=null) | |
get ($key) | |
delete ($key) | |
flush ($complete=false) | |
getInstallationFailureReason () | |
serialize ($value) | |
unserialize ($serialized_value) | |
getInfo () | |
isValid ($key) | |
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... | |
Protected Member Functions | |
getMemcacheObject () | |
getActive () | |
getInstallable () | |
Protected Member Functions inherited from ilGlobalCacheService | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
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::delete | ( | $key | ) |
$key |
Definition at line 104 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::exists | ( | $key | ) |
$key |
Definition at line 68 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::flush | ( | $complete = false | ) |
bool | $complete |
Definition at line 115 of file class.ilMemcache.php.
References getMemcacheObject().
ilMemcache::get | ( | $key | ) |
$key |
Definition at line 93 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
|
protected |
Definition at line 125 of file class.ilMemcache.php.
References $server, Sabre\VObject\$stats, getInstallable(), and getMemcacheObject().
ilMemcache::getInfo | ( | ) |
Definition at line 198 of file class.ilMemcache.php.
References $key, and getMemcacheObject().
|
protected |
Definition at line 150 of file class.ilMemcache.php.
Referenced by getActive().
ilMemcache::getInstallationFailureReason | ( | ) |
Definition at line 159 of file class.ilMemcache.php.
References Sabre\VObject\$stats, and getMemcacheObject().
|
protected |
Definition at line 57 of file class.ilMemcache.php.
Referenced by delete(), exists(), flush(), get(), getActive(), getInfo(), getInstallationFailureReason(), and set().
ilMemcache::isValid | ( | $key | ) |
Definition at line 215 of file class.ilMemcache.php.
ilMemcache::serialize | ( | $value | ) |
ilMemcache::set | ( | $key, | |
$serialized_value, | |||
$ttl = null |
|||
) |
$key | ||
$serialized_value | ||
null | int | $ttl |
Definition at line 81 of file class.ilMemcache.php.
References $key, getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::unserialize | ( | $serialized_value | ) |
|
staticprotected |
Definition at line 18 of file class.ilMemcache.php.