33 $db = $environment->getResource(Setup\Environment::RESOURCE_DATABASE);
34 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
36 if (!$client_ini || !$db) {
54 $storage->storeConfigText(
57 "The backend that is used for the ILIAS cache."
59 $storage->storeConfigBool(
69 $server_collection = [];
72 Setup\Metrics\Metric::STABILITY_CONFIG,
73 Setup\Metrics\Metric::TYPE_BOOL,
77 Setup\Metrics\Metric::STABILITY_CONFIG,
78 Setup\Metrics\Metric::TYPE_TEXT,
82 Setup\Metrics\Metric::STABILITY_CONFIG,
83 Setup\Metrics\Metric::TYPE_GAUGE,
87 Setup\Metrics\Metric::STABILITY_CONFIG,
88 Setup\Metrics\Metric::TYPE_GAUGE,
93 Setup\Metrics\Metric::STABILITY_CONFIG,
94 Setup\Metrics\Metric::TYPE_COLLECTION,
101 "Configured memcached node."
106 Setup\Metrics\Metric::STABILITY_CONFIG,
107 Setup\Metrics\Metric::TYPE_COLLECTION,
109 "Collection of configured memcached nodes."
111 $storage->store(
"memcached_nodes", $nodes);
114 $component_activation = [];
117 Setup\Metrics\Metric::STABILITY_CONFIG,
118 Setup\Metrics\Metric::TYPE_BOOL,
119 $settings->isComponentActivated($component)
123 Setup\Metrics\Metric::STABILITY_CONFIG,
124 Setup\Metrics\Metric::TYPE_COLLECTION,
125 $component_activation,
126 "Which components are activated to use caching?"
130 $component_activation
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Customizing of pimple-DIC for ILIAS.
A metric is something we can measure about the system.
getTentativePreconditions(Setup\Environment $environment)
collectFrom(Setup\Environment $environment, Setup\Metrics\Storage $storage)
Class ilGlobalCacheSettings.
static lookupServiceConfigName(int $service_type)
static getAvailableComponents()
An environment holds resources to be used in the setup process.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...