\DevOwl\RealQueue\queueExecutor

Execute a server job.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
setupConstants()
__construct()
run()
buildErrorMessages()
No public properties found
No constants found
isValidJob()
No protected properties found
N/A
No private methods found
$core
N/A

Properties

$core

$core :

Type

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this package so we can utils package natively.

Returns

string

setupConstants()

setupConstants()

Make sure the REAL_QUEUE constants are available.

__construct()

__construct(\DevOwl\RealQueue\queue\Core  $core)

C'tor.

Parameters

\DevOwl\RealQueue\queue\Core $core

run()

run(array<mixed,integer>  $ids,integer  $maxExecutionTimeMs,boolean  $omitClientData = false)

Run multiple server jobs by ID.

Parameters

array<mixed,integer> $ids
integer $maxExecutionTimeMs
boolean $omitClientData

See Query::read

buildErrorMessages()

buildErrorMessages(array  $remaining)

Build error messages based on the "remaining" status.

Parameters

array $remaining

Result of Query::readRemaining

isValidJob()

isValidJob(\DevOwl\RealQueue\queue\Job  $job)

Check if a given job is valid for execution.

Parameters

\DevOwl\RealQueue\queue\Job $job