Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob Class Reference

Job for fetching and dispatching RepoRevisionIdentifiers marked for deletion for client databases. More...

+ Inheritance diagram for Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob:
+ Collaboration diagram for Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob:

Public Member Functions

 __construct (Title $title, array $params=[])
 
- Public Member Functions inherited from Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob
 __construct (string $jobName, Title $title, array $params)
 
 initServices (EntityIdLookup $entityIdLookup, LoggerInterface $logger, JobQueueGroupFactory $jobQueueGroupFactory)
 
 run ()
 

Protected Member Functions

 initFromGlobalState (MediaWikiServices $mwServices)
 
 getChangeModificationNotificationJobs (EntityId $entityId)
 
- Protected Member Functions inherited from Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob
 revisionIdentifiersToJson (array $revisionIdentifiers)
 

Private Member Functions

 getArchiveRows (int &$processed, int &$staleRecords, string $entityIdSerialization)
 

Private Attributes

 $batchSize
 
 $archivedRevisionCount
 
 $pageId
 
 $db
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob
 $clientRCMaxAge
 
 $logger
 

Detailed Description

Job for fetching and dispatching RepoRevisionIdentifiers marked for deletion for client databases.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::__construct ( Title $title,
array $params = [] )

Member Function Documentation

◆ getArchiveRows()

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::getArchiveRows ( int & $processed,
int & $staleRecords,
string $entityIdSerialization )
private

◆ getChangeModificationNotificationJobs()

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::getChangeModificationNotificationJobs ( EntityId $entityId)
protected
Parameters
EntityId$entityId
Returns
IJobSpecification[]

Reimplemented from Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob.

◆ initFromGlobalState()

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::initFromGlobalState ( MediaWikiServices $mwServices)
protected

Member Data Documentation

◆ $archivedRevisionCount

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::$archivedRevisionCount
private

◆ $batchSize

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::$batchSize
private

◆ $db

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::$db
private

◆ $pageId

Wikibase\Repo\ChangeModification\DispatchChangeDeletionNotificationJob::$pageId
private

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