BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SMW\MediaWiki\Jobs\UpdateDispatcherJob Class Reference
Inheritance diagram for SMW\MediaWiki\Jobs\UpdateDispatcherJob:
Collaboration diagram for SMW\MediaWiki\Jobs\UpdateDispatcherJob:

Public Member Functions

 __construct (Title $title, $params=array(), $id=0)
 
 run ()
 
 insert ()
 
- Public Member Functions inherited from SMW\MediaWiki\Jobs\JobBase
 setStore (Store $store)
 
 setJobQueueEnabledState ($enableJobQueue=true)
 
 pushToJobQueue ()
 
 getType ()
 
 getJobCount ()
 
 getTitle ()
 
 hasParameter ($key)
 
 getParameter ($key)
 
- Public Member Functions inherited from Job
 run ()
 
 __construct ($command, $title, $params=false)
 
 getType ()
 
 getTitle ()
 
 getParams ()
 
 getReleaseTimestamp ()
 
 getQueuedTimestamp ()
 
 getRequestId ()
 
 getReadyTimestamp ()
 
 ignoreDuplicates ()
 
 allowRetries ()
 
 workItemCount ()
 
 getDeduplicationInfo ()
 
 getRootJobParams ()
 
 hasRootJobParams ()
 
 isRootJob ()
 
 teardown ()
 
 insert ()
 
 toString ()
 
 getLastError ()
 

Public Attributes

const CHUNK_SIZE = 500
 
- Public Attributes inherited from Job
 $command
 
 $params
 
 $metadata = []
 

Additional Inherited Members

- Static Public Member Functions inherited from SMW\MediaWiki\Jobs\JobBase
static batchInsert ($jobs)
 
- Static Public Member Functions inherited from Job
static factory ($command, Title $title, $params=[])
 
static batchInsert ($jobs)
 
static newRootJobParams ($key)
 
- Protected Member Functions inherited from Job
 addTeardownCallback ($callback)
 
 setLastError ($error)
 
- Protected Attributes inherited from SMW\MediaWiki\Jobs\JobBase
 $enabledJobQueue = true
 
 $jobs = array()
 
 $store = null
 
- Protected Attributes inherited from Job
 $title
 
 $removeDuplicates
 
 $error
 
 $teardownCallbacks = []
 

Detailed Description

Dispatcher to find and create individual UpdateJob instances for a specific subject and its linked entities.

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Jobs\UpdateDispatcherJob::__construct ( Title  $title,
  $params = array(),
  $id = 0 
)
Since
1.9
Parameters
Title$title
array$paramsjob parameters
integer$idjob id

Member Function Documentation

SMW\MediaWiki\Jobs\UpdateDispatcherJob::insert ( )
See Also
Job::insert
Since
1.9
SMW\MediaWiki\Jobs\UpdateDispatcherJob::run ( )
See Also
Job::run
Since
1.9
Returns
boolean

Member Data Documentation

const SMW\MediaWiki\Jobs\UpdateDispatcherJob::CHUNK_SIZE = 500

Size of chunks used when invoking the secondary dispatch run


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