MediaWiki
1.32.5
|
Enqueue lazy-pushed jobs that have accumulated from JobQueueGroup. More...
Public Member Functions | |
__construct ( $domain, array $jobs) | |
doUpdate () | |
Perform the actual work. More... | |
merge (MergeableUpdate $update) | |
Merge this update with $update. More... | |
Private Attributes | |
array[] | $jobsByDomain |
Map of (domain ID => IJobSpecification[]) More... | |
Enqueue lazy-pushed jobs that have accumulated from JobQueueGroup.
Definition at line 31 of file JobQueueEnqueueUpdate.php.
JobQueueEnqueueUpdate::__construct | ( | $domain, | |
array | $jobs | ||
) |
string | $domain | DB domain ID |
IJobSpecification[] | $jobs |
Definition at line 39 of file JobQueueEnqueueUpdate.php.
JobQueueEnqueueUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 53 of file JobQueueEnqueueUpdate.php.
References $e, as, MWExceptionHandler\logException(), and JobQueueGroup\singleton().
JobQueueEnqueueUpdate::merge | ( | MergeableUpdate | $update | ) |
Merge this update with $update.
MergeableUpdate | $update | Update of the same class type |
Implements MergeableUpdate.
Definition at line 43 of file JobQueueEnqueueUpdate.php.
References as.
|
private |
Map of (domain ID => IJobSpecification[])
Definition at line 33 of file JobQueueEnqueueUpdate.php.