◆ collectFrom()
ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective::collectFrom |
( |
Environment |
$environment, |
|
|
Storage |
$storage |
|
) |
| |
|
protected |
Definition at line 40 of file DatabaseInconsistencyMetricsCollectedObjective.php.
References ILIAS\$db, ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective\collectMantis37759(), ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Environment\RESOURCE_DATABASE, ILIAS\Setup\Metrics\Metric\STABILITY_MIXED, ILIAS\Setup\Metrics\Metric\STABILITY_VOLATILE, ILIAS\Setup\Metrics\Storage\store(), ILIAS\Setup\Metrics\Metric\TYPE_BOOL, and ILIAS\Setup\Metrics\Metric\TYPE_COLLECTION.
44 'database_available' =>
new Metric(
48 'This metric is a canary to check for the general existence of this collection.' 60 'These metrics collect information about inconsistencies in the database of the T&A.' collectMantis37759(array &$metrics, \ilDBInterface $db)
store(string $key, Metric $metric)
Store some metric in the storage.
const TYPE_BOOL
The type of the metric tells what to expect of the values.
◆ collectMantis37759()
ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective::collectMantis37759 |
( |
array & |
$metrics, |
|
|
\ilDBInterface |
$db |
|
) |
| |
|
protected |
◆ getTentativePreconditions()
ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective::getTentativePreconditions |
( |
Environment |
$environment | ) |
|
|
protected |
The documentation for this class was generated from the following file: