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

Public Member Functions

 __construct (Title $title, $params=[])
 
 newOutdatedEntitiesResultIterator ()
 
 newOutdatedQueryLinksResultIterator ()
 
 newUnassignedQueryLinksResultIterator ()
 
 disposeQueryLinks ( $id)
 
 dispose ( $id)
 
 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 CHUNK_SIZE = 200
 

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

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::__construct ( Title  $title,
  $params = [] 
)
Since
2.5
Parameters
Title$title
array$paramsjob parameters

Member Function Documentation

◆ dispose()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::dispose (   $id)
Since
2.5
Parameters
integer | stdClass$id

◆ disposeQueryLinks()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::disposeQueryLinks (   $id)
Since
3.1
Parameters
integer | stdClass$id

◆ newOutdatedEntitiesResultIterator()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::newOutdatedEntitiesResultIterator ( )
Since
2.5
Returns
ResultIterator

◆ newOutdatedQueryLinksResultIterator()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::newOutdatedQueryLinksResultIterator ( )
Since
3.1
Returns
ResultIterator

◆ newUnassignedQueryLinksResultIterator()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::newUnassignedQueryLinksResultIterator ( )
Since
3.1
Returns
ResultIterator

◆ run()

SMW\MediaWiki\Jobs\EntityIdDisposerJob::run ( )
See also
Job::run
Since
2.5

Member Data Documentation

◆ CHUNK_SIZE

const SMW\MediaWiki\Jobs\EntityIdDisposerJob::CHUNK_SIZE = 200

Commit chunk size


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

About | General disclaimer | Privacy policy