MediaWiki REL1_37
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 enqueued update with a new MergeableUpdate of the same qualified class name.
 

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.

Member Function Documentation

◆ doUpdate()

JobQueueEnqueueUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 54 of file JobQueueEnqueueUpdate.php.

◆ merge()

JobQueueEnqueueUpdate::merge ( MergeableUpdate  $update)

Merge this enqueued update with a new MergeableUpdate of the same qualified class name.

Parameters
MergeableUpdate$updateThe new update (having the same class)

Implements MergeableUpdate.

Definition at line 43 of file JobQueueEnqueueUpdate.php.

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: