MediaWiki  master
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 (string $domain, array $jobs)
 
 doUpdate ()
 Perform the actual work. More...
 
 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)
More...
 

Detailed Description

Enqueue lazy-pushed jobs that have accumulated from JobQueueGroup.

Since
1.33

Definition at line 33 of file JobQueueEnqueueUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 44 of file JobQueueEnqueueUpdate.php.

Member Function Documentation

◆ doUpdate()

JobQueueEnqueueUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 65 of file JobQueueEnqueueUpdate.php.

References MWExceptionHandler\logException().

◆ 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 51 of file JobQueueEnqueueUpdate.php.


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