Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (JobQueueGroup $jobQueueGroup) | |
disableCache ( $disableCache=true) | |
isDelayedJobsEnabled ( $type) | |
runFromQueue (array $list) | |
pop ( $type) | |
ack (\Job $job) | |
delete ( $type) | |
push ( $jobs) | |
lazyPush ( $jobs) | |
getQueueSizes () | |
getQueueSize ( $type) | |
hasPendingJob ( $type) | |
Static Public Member Functions | |
static | mapLegacyType ( $type) |
MediaWiki's JobQueue contains mostly final methods making it difficult to use an instance during tests hence this class provides a reduced interface with mockable methods.
GNU GPL v2+
SMW\MediaWiki\JobQueue::__construct | ( | JobQueueGroup | $jobQueueGroup | ) |
JobQueueGroup | $jobQueueGroup |
SMW\MediaWiki\JobQueue::ack | ( | \Job | $job | ) |
SMW\MediaWiki\JobQueue::delete | ( | $type | ) |
string | $type |
SMW\MediaWiki\JobQueue::disableCache | ( | $disableCache = true | ) |
boolean | $disableCache |
SMW\MediaWiki\JobQueue::getQueueSize | ( | $type | ) |
string | $type |
SMW\MediaWiki\JobQueue::getQueueSizes | ( | ) |
SMW\MediaWiki\JobQueue::hasPendingJob | ( | $type | ) |
string | $type |
SMW\MediaWiki\JobQueue::isDelayedJobsEnabled | ( | $type | ) |
string | $type |
SMW\MediaWiki\JobQueue::lazyPush | ( | $jobs | ) |
Job|Job[] | $jobs |
|
static |
string | $type |
SMW\MediaWiki\JobQueue::pop | ( | $type | ) |
string | $type |
SMW\MediaWiki\JobQueue::push | ( | $jobs | ) |
Job|Job[] | $jobs |
SMW\MediaWiki\JobQueue::runFromQueue | ( | array | $list | ) |
array | $list |