33        return hash(
"sha256", self::class);
 
   38        return "Store configuration of Services/GlobalCache";
 
   55        $client_ini = $environment->
getResource(Setup\Environment::RESOURCE_CLIENT_INI);
 
   56        $db = $environment->getResource(Setup\Environment::RESOURCE_DATABASE);
 
   58        $db->manipulate(
"TRUNCATE TABLE il_gc_memcache_server");
 
   60        $memcached_nodes = $this->
settings->getMemcachedNodes();
 
   61        foreach ($memcached_nodes as $node) {
 
   65        $return = $this->
settings->writeToIniFile($client_ini);
 
   67        if (!$client_ini->write() || !$return) {
 
   68            throw new Setup\UnachievableException(
"Could not write client.ini.php");
 
__construct(\ilGlobalCacheSettings $settings)
 
isApplicable(Setup\Environment $environment)
@inheritDoc
 
getPreconditions(Setup\Environment $environment)
 
ilGlobalCacheSettings $settings
 
Class ilGlobalCacheSettings.
 
An environment holds resources to be used in the setup process.
 
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
 
An objective is a desired state of the system that is supposed to be created by the setup.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...