ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilMemcache. More...
Public Member Functions | |
__construct ($service_id, $component) | |
exists ($key) | |
set ($key, $serialized_value, $ttl=NULL) | |
get ($key) | |
delete ($key) | |
flush () | |
getInstallationFailureReason () | |
serialize ($value) | |
unserialize ($serialized_value) | |
getInfo () | |
![]() | |
__construct ($service_id, $component) | |
__destruct () | |
unserialize ($serialized_value) | |
get ($key) | |
set ($key, $serialized_value, $ttl=NULL) | |
serialize ($value) | |
getServiceId () | |
setServiceId ($service_id) | |
setValid ($key) | |
getComponent () | |
setComponent ($component) | |
setInvalid ($key=NULL) | |
isValid ($key) | |
isActive () | |
isInstallable () | |
returnKey ($key) | |
getInfo () | |
getInstallationFailureReason () | |
exists ($key) | |
delete ($key) | |
flush () | |
setServiceType ($service_type) | |
getServiceType () | |
Data Fields | |
const | STD_SERVER = '127.0.0.1' |
const | STD_PORT = 11211 |
Protected Member Functions | |
getMemcacheObject () | |
getActive () | |
getInstallable () | |
![]() | |
saveValid () | |
readValid () | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static | $servers |
static | $memcache_object |
![]() | |
static | $active = array() |
static | $installable = array() |
Additional Inherited Members | |
![]() | |
$current_time = 0 | |
$valid_keys = array() | |
$service_id = '' | |
$component = '' | |
$service_type = ilGlobalCache::TYPE_STATIC | |
$valid_key_hash = '' | |
ilMemcache::__construct | ( | $service_id, | |
$component | |||
) |
$service_id | |
$component |
Definition at line 31 of file class.ilMemcache.php.
References ilGlobalCacheService\$component, ilGlobalCacheService\$service_id, and getInstallable().
ilMemcache::delete | ( | $key | ) |
$key |
Definition at line 88 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::exists | ( | $key | ) |
$key |
Definition at line 56 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::flush | ( | ) |
Definition at line 96 of file class.ilMemcache.php.
References getMemcacheObject().
ilMemcache::get | ( | $key | ) |
$key |
Definition at line 78 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
|
protected |
Definition at line 104 of file class.ilMemcache.php.
References getInstallable(), and getMemcacheObject().
ilMemcache::getInfo | ( | ) |
Definition at line 160 of file class.ilMemcache.php.
References getMemcacheObject().
|
protected |
Definition at line 116 of file class.ilMemcache.php.
Referenced by __construct(), and getActive().
ilMemcache::getInstallationFailureReason | ( | ) |
Definition at line 124 of file class.ilMemcache.php.
References getMemcacheObject().
|
protected |
Definition at line 46 of file class.ilMemcache.php.
Referenced by delete(), exists(), flush(), get(), getActive(), getInfo(), getInstallationFailureReason(), and set().
ilMemcache::serialize | ( | $value | ) |
ilMemcache::set | ( | $key, | |
$serialized_value, | |||
$ttl = NULL |
|||
) |
$key | ||
$serialized_value | ||
null | $ttl |
Definition at line 68 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::unserialize | ( | $serialized_value | ) |
|
staticprotected |
Definition at line 24 of file class.ilMemcache.php.
|
staticprotected |
Definition at line 18 of file class.ilMemcache.php.
const ilMemcache::STD_PORT = 11211 |
Definition at line 14 of file class.ilMemcache.php.
const ilMemcache::STD_SERVER = '127.0.0.1' |
Definition at line 13 of file class.ilMemcache.php.