This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_QueueableJob

The job class is essentially sub-dispatcher for certain maintenance tasks that need to be run at specified intervals. Examples include indexing a search engine or generating a sitemap page.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_Job
Extended by Job
Extended by Concrete5_Model_QueueableJob

Direct known subclasses

QueueableJob

Indirect known subclasses

Concrete5_Job_IndexSearchAll, IndexSearchAll

Abstract
Package: Utilities
License: MIT
Author: Andrew Embler andrew@concrete5.org
Author: Tony Trupp tony@concrete5.org
Link: http://www.concrete5.org
Located at core/models/queueable_job.php

Methods summary

public
abstract public
# start( Zend_Queue $q )
abstract public
# finish( Zend_Queue $q )
abstract public
# processQueueItem( Zend_Queue_Message $msg )
public
# run( )
public
public
public
public
# markCompleted( $code = 0, $message = false )
public
# 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.

Constants summary

Properties summary

protected $jQueueBatchSize
# JOB_QUEUE_BATCH_SIZE

Properties inherited from Concrete5_Library_Object

$error