ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
exists (string $key) | |
set (string $key, $serialized_value, int $ttl=null) | |
get (string $key) | |
delete (string $key) | |
flush (bool $complete=false) | |
getInstallationFailureReason () | |
serialize ($value) | |
unserialize ($serialized_value) | |
getInfo () | |
isValid (string $key) | |
Checks whether the cache key is valid or not. More... | |
![]() | |
__construct (string $service_id, string $component) | |
ilGlobalCacheService constructor. More... | |
unserialize ($serialized_value) | |
get (string $key) | |
set (string $key, $serialized_value, int $ttl=null) | |
serialize ($value) | |
getServiceId () | |
setServiceId (string $service_id) | |
getComponent () | |
setComponent (string $component) | |
isActive () | |
isInstallable () | |
returnKey (string $key) | |
getInfo () | |
getInstallationFailureReason () | |
exists (string $key) | |
delete (string $key) | |
flush (bool $complete=false) | |
setServiceType (int $service_type) | |
getServiceType () | |
setValid (string $key) | |
Declare a key as valid. More... | |
isValid (string $key) | |
Checks whether the cache key is valid or not. More... | |
Protected Member Functions | |
getMemcacheObject () | |
getActive () | |
getInstallable () | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static Memcached | $memcache_object = null |
![]() | |
static array | $active = array() |
static array | $installable = array() |
Additional Inherited Members | |
![]() | |
int | $current_time = 0 |
array | $valid_keys = array() |
string | $service_id = '' |
string | $component = '' |
int | $service_type = ilGlobalCache::TYPE_STATIC |
string | $valid_key_hash = '' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilMemcache
Definition at line 24 of file class.ilMemcache.php.
ilMemcache::delete | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 83 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::exists | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 64 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::flush | ( | bool | $complete = false | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 88 of file class.ilMemcache.php.
References getMemcacheObject().
ilMemcache::get | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 78 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
|
protected |
Definition at line 93 of file class.ilMemcache.php.
References $server, getInstallable(), and getMemcacheObject().
ilMemcache::getInfo | ( | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 151 of file class.ilMemcache.php.
References ILIAS\LTI\ToolProvider\$key, getMemcacheObject(), and ilGlobalCacheService\isInstallable().
|
protected |
Definition at line 114 of file class.ilMemcache.php.
Referenced by getActive().
ilMemcache::getInstallationFailureReason | ( | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 119 of file class.ilMemcache.php.
References $server, and getMemcacheObject().
|
protected |
Definition at line 59 of file class.ilMemcache.php.
Referenced by delete(), exists(), flush(), get(), getActive(), getInfo(), getInstallationFailureReason(), and set().
ilMemcache::isValid | ( | string | $key | ) |
Checks whether the cache key is valid or not.
Implements ilGlobalCacheServiceInterface.
Definition at line 163 of file class.ilMemcache.php.
ilMemcache::serialize | ( | $value | ) |
ilMemcache::set | ( | string | $key, |
$serialized_value, | |||
int | $ttl = null |
||
) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 69 of file class.ilMemcache.php.
References getMemcacheObject(), and ilGlobalCacheService\returnKey().
ilMemcache::unserialize | ( | $serialized_value | ) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 146 of file class.ilMemcache.php.
|
staticprotected |
Definition at line 26 of file class.ilMemcache.php.