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

Public Member Functions

 __construct (Title $title, $params=array(), $id=0)
 
 run ()
 
- Public Member Functions inherited from SMW\MediaWiki\Jobs\JobBase
 setStore (Store $store)
 
 isEnabledJobQueue ($enableJobQueue=true)
 
 pushToJobQueue ()
 
 getType ()
 
 getJobCount ()
 
 getTitle ()
 
 hasParameter ($key)
 
 getParameter ($key)
 
 insert ()
 
 lazyPush ()
 

Public Attributes

const RESTRICTED_DISPATCH_POOL = 'restricted.disp.pool'
 
const CHUNK_SIZE = 500
 

Additional Inherited Members

- Static Public Member Functions inherited from SMW\MediaWiki\Jobs\JobBase
static batchInsert ($jobs)
 
static getQueueSizes ()
 
- Protected Attributes inherited from SMW\MediaWiki\Jobs\JobBase
 $isEnabledJobQueue = true
 
 $jobs = array()
 
 $store = null
 

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::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

const SMW\MediaWiki\Jobs\UpdateDispatcherJob::RESTRICTED_DISPATCH_POOL = 'restricted.disp.pool'

Restict disptach process on available pool of data


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