Метод adopt

private

Сигнатура метода

private function adopt(int $instanceId, string $resourceId, array $registered, ManagedResourceCleanupBudget $budget): void

Возвращает: void

Описание

Registers a live schedule of the copy that has no ownership row yet, which closes the window between the creation of a schedule and its registration. The rows of the whole portion are read at once, and every schedule of it still costs the one row of the budget its own lookup used to cost: what the portion changes is the number of queries and not the amount of work a pass is allowed to do.

Параметры

4
Имя Тип По умолчанию Флаги
$instanceId int —
—
$resourceId string —
—
$registered array —
—
$budget ManagedResourceCleanupBudget —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/ScheduleCleanup.php
Расположение метода в файле
Строки 296–314

Исходный код

PHP