MediaWiki REL1_33
JobQueueEnqueueUpdate Class Reference

Enqueue lazy-pushed jobs that have accumulated from JobQueueGroup. More...

Inheritance diagram for JobQueueEnqueueUpdate:
Collaboration diagram for JobQueueEnqueueUpdate:

Public Member Functions

 __construct ( $domain, array $jobs)
 
 doUpdate ()
 Perform the actual work.
 
 merge (MergeableUpdate $update)
 Merge this update with $update.
 

Private Attributes

array[] $jobsByDomain
 Map of (domain ID => IJobSpecification[])
 

Detailed Description

Enqueue lazy-pushed jobs that have accumulated from JobQueueGroup.

Since
1.33

Definition at line 31 of file JobQueueEnqueueUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

JobQueueEnqueueUpdate::__construct ( $domain,
array $jobs )
Parameters
string$domainDB domain ID
IJobSpecification[]$jobs

Definition at line 39 of file JobQueueEnqueueUpdate.php.

References and().

Member Function Documentation

◆ doUpdate()

JobQueueEnqueueUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 53 of file JobQueueEnqueueUpdate.php.

References $e.

◆ merge()

JobQueueEnqueueUpdate::merge ( MergeableUpdate $update)

Merge this update with $update.

Parameters
MergeableUpdate$updateUpdate of the same class type

Implements MergeableUpdate.

Definition at line 43 of file JobQueueEnqueueUpdate.php.

References and().

Member Data Documentation

◆ $jobsByDomain

array [] JobQueueEnqueueUpdate::$jobsByDomain
private

Map of (domain ID => IJobSpecification[])

Definition at line 33 of file JobQueueEnqueueUpdate.php.


The documentation for this class was generated from the following file: