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) | |
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 | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Private Attributes | |
const | MIN_MEMORY = 16 |
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 = '' |
![]() | |
static array | $active = array() |
static array | $installable = array() |
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 ilApc
Definition at line 25 of file class.ilApc.php.
ilApc::delete | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 56 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
ilApc::exists | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 32 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
ilApc::flush | ( | bool | $complete = false | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 61 of file class.ilApc.php.
ilApc::get | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 48 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
|
protected |
Definition at line 115 of file class.ilApc.php.
ilApc::getInfo | ( | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 85 of file class.ilApc.php.
References ILIAS\LTI\ToolProvider\$key, ilGlobalCacheService\getComponent(), and ilGlobalCacheService\getServiceId().
|
protected |
Definition at line 120 of file class.ilApc.php.
|
protected |
Definition at line 125 of file class.ilApc.php.
References ilRuntime\getInstance(), and getMinMemory().
|
protected |
Definition at line 137 of file class.ilApc.php.
Referenced by getMemoryLimit().
ilApc::isValid | ( | string | $key | ) |
Checks whether the cache key is valid or not.
Implements ilGlobalCacheServiceInterface.
Definition at line 145 of file class.ilApc.php.
ilApc::serialize | ( | $value | ) |
ilApc::set | ( | string | $key, |
$serialized_value, | |||
int | $ttl = null |
||
) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 40 of file class.ilApc.php.
References ilGlobalCacheService\returnKey().
ilApc::unserialize | ( | $serialized_value | ) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 80 of file class.ilApc.php.
|
private |
Definition at line 30 of file class.ilApc.php.