Bitrix API

PredictionQueue extends EO_PredictionQueue

Table of Contents

Constants

QUEUE_PROCESS_TIME_LIMIT  = 30
STATE_DELAYED  = "delayed"
STATE_EXECUTING  = "executing"
STATE_IDLE  = "idle"

Methods

delay()  : mixed
execute()  : bool
Executes prediction update request
executeRequest()  : bool
Executes request from the queue.
getNextRequestId()  : int|false
Return id of the next unprocessed request in queue.
processQueue()  : string
Agent to process prediction requests queue.

Constants

Methods

execute()

Executes prediction update request

public execute() : bool
Tags
throws
ObjectException
Return values
bool

executeRequest()

Executes request from the queue.

public static executeRequest(int $id) : bool
Parameters
$id : int

Id of the request.

Return values
bool

getNextRequestId()

Return id of the next unprocessed request in queue.

public static getNextRequestId() : int|false
Return values
int|false

processQueue()

Agent to process prediction requests queue.

public static processQueue() : string
Return values
string

        
On this page

Search results