FillThumbnailsTable
class FillThumbnailsTable extends QueueableJob (View source)
Properties
protected int | $jQueueBatchSize | from QueueableJob | |
protected Queue | $jQueueObject | from QueueableJob | |
protected EntityManagerInterface | $entityManager | ||
protected Resolver | $thumbnailPathResolver | ||
private Version[]|null | $thumbnailTypeVersions |
Methods
Start processing a queue Typically this is where you would inject new messages into the queue
Finish processing a queue
Process a QueueMessage
Initialize the instance.
This is disabled since we don't want users to accidentally run a queable job without knowing it
Mark the queue as having completed
Executejob for queueable jobs actually starts the queue, runs, and ends all in one function. This happens if we run a job in legacy mode.
{@inheritdoc}
{@inheritdoc}
No description
Details
mixed
start(Queue $queue)
Start processing a queue Typically this is where you would inject new messages into the queue
mixed
finish(Queue $q)
Finish processing a queue
void
processQueueItem(Message $msg)
Process a QueueMessage
__construct(EntityManagerInterface $entityManager, Resolver $thumbnailPathResolver)
Initialize the instance.
run()
This is disabled since we don't want users to accidentally run a queable job without knowing it
int
getJobQueueBatchSize()
Get the size of the queue batches
Queue
getQueueObject()
Get the queue object we're going to use to queue
reset()
Delete the queue
markStarted()
Mark the queue as started
JobResult
markCompleted(int $code = 0, bool $message = false)
Mark the queue as having completed
executeJob()
Executejob for queueable jobs actually starts the queue, runs, and ends all in one function. This happens if we run a job in legacy mode.
executeBatch(array|iterator $batch, Queue $queue)
Process a queue batch
getJobName()
{@inheritdoc}
getJobDescription()
{@inheritdoc}
protected Version[]
getThumbnailTypeVersions()
No description