MediaWiki  REL1_22
nextJobDB Class Reference

Maintenance script that picks a database that has pending jobs. More...

Inheritance diagram for nextJobDB:
Collaboration diagram for nextJobDB:

List of all members.

Public Member Functions

 __construct ()
 execute ()

Private Member Functions

 executeReadyPeriodicTasks ()
 Do all ready periodic jobs for all databases every 5 minutes (and .1% of the time)

Detailed Description

Maintenance script that picks a database that has pending jobs.

Definition at line 31 of file nextJobDB.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 32 of file nextJobDB.php.

References Maintenance\addOption().


Member Function Documentation

Do all ready periodic jobs for all databases every 5 minutes (and .1% of the time)

Returns:
integer

Definition at line 98 of file nextJobDB.php.

References $count, $timestamp, $wgMemc, as, global, and JobQueueGroup\singleton().

Referenced by execute().


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