Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\MediaWiki\Jobs\ChangePropagationUpdateJob Class Reference
Inheritance diagram for SMW\MediaWiki\Jobs\ChangePropagationUpdateJob:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Jobs\ChangePropagationUpdateJob:
Collaboration graph
[legend]

Public Member Functions

 __construct (Title $title, $params=[], $jobType=null)
 
 run ()
 
- Public Member Functions inherited from SMW\MediaWiki\Job
 setStore (Store $store)
 
 isEnabledJobQueue ( $enableJobQueue=true)
 
 pushToJobQueue ()
 
 getType ()
 
 getJobCount ()
 
 hasParameter ( $key)
 
 getParameter ( $key, $default=false)
 
 setParameter ( $key, $value)
 
 insert ()
 
 lazyPush ()
 
 setDelay ( $delay)
 
 ignoreDuplicates ()
 
 waitOnCommandLineMode ()
 

Public Attributes

const JOB_COMMAND = 'smw.changePropagationUpdate'
 

Additional Inherited Members

- Static Public Member Functions inherited from SMW\MediaWiki\Job
static batchInsert ( $jobs)
 
static newRootJobParams ( $key='', $title='')
 
- Protected Member Functions inherited from SMW\MediaWiki\Job
 getJobQueue ()
 
- Protected Attributes inherited from SMW\MediaWiki\Job
 $isEnabledJobQueue = true
 
 $jobQueue
 
 $jobs = []
 
 $store = null
 

Detailed Description

Make sufficient use of the job table by only tracking remaining jobs without any detail on an individual update count.

Use ChangePropagationUpdateJob to easily count the jobs and distinguish them from other UpdateJob.

`JobQueueGroup::singleton()->get( 'SMW' )->getSize()`

GNU GPL v2+

Since
3.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::__construct ( Title  $title,
  $params = [],
  $jobType = null 
)
Since
3.0
Parameters
Title$title
array$paramsjob parameters

Member Function Documentation

◆ run()

SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::run ( )
See also
Job::run
Since
3.0

Member Data Documentation

◆ JOB_COMMAND

const SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::JOB_COMMAND = 'smw.changePropagationUpdate'

Identifies the job queue command


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

About | General disclaimer | Privacy policy