Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Patterns in extension/expqueue

Every class, view, fetch function, operator and plugin point of extension/expqueue with its design patterns.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/standards/patterns/area-extension-expqueue.md

On this page

Patterns in extension/expqueue

Note

This page is generated from the source code by php bin/php/exppatterncatalogue.php --write. Do not edit it by hand: change the code or the generator, then run the command again. How the patterns are recognized: the pattern catalogue.

Every class, interface and trait of extension/expqueue with the patterns it was recognized as, followed by the module views, policy functions, fetch functions, template operators, cronjobs, event hooks and INI plugin points of the area. All patterns.

Classes (27)

ClassKindPatternsFileDescription
expQueueclassFactory and static factory methods, Utility (static helper)extension/expqueue/classes/expqueue.php:26The job queue: what producers call (enqueue, groups, cancel, pause/resume, retry, results) and the state changes the workers and the admin make.
expQueueAdminclassUtility (static helper)extension/expqueue/classes/expqueueadmin.php:14Helpers of the admin module expqueue: the page result with its path, the rows the templates show (every label and duration prepared here, so the temp…
expQueueAuditBranchclass implements expAuditTaxonomyBranchINI plugin point (extension point)extension/expqueue/classes/expqueueauditbranch.php:15The audit taxonomy branch of expqueue (registered in settings/audit.ini.append.php): system.queue., one event per operator action on the queue and pe…
expQueueCancelledExceptionclass extends expQueueExceptionException hierarchyextension/expqueue/classes/expqueuecancelledexception.php:9Thrown by expQueueContext::throwIfCancelled() when the job was cancelled while it ran; the job ends cancelled.
expQueueCommandclassCommand (console, scripts, cronjobs), Factory and static factory methodsextension/expqueue/classes/expqueuecommand.php:17The commands ./console ext:expqueue: (extension/expqueue/bin/php/.php); each file only calls expQueueCommand::main( '' ).
expQueueConfigclassSingleton / instance()extension/expqueue/classes/expqueueconfig.php:15The settings of expqueue (expqueue.ini), with the defaults that apply when a setting is missing.
expQueueContextclass–extension/expqueue/classes/expqueuecontext.php:32What a handler gets with its job: the lease (heartbeat), cooperative cancellation, progress, the result checkpoint and the rate-limit hand-off of its…
expQueueEventclass extends eZPersistentObjectActive Record (eZPersistentObject), Factory and static factory methodsextension/expqueue/classes/expqueueevent.php:15The history of a job (table expqueue_event), append-only, removed with the job.
expQueueExceptionclass extends RuntimeExceptionException hierarchyextension/expqueue/classes/expqueueexception.php:9An error of the queue itself: an unknown class or type, a quota reached, a job that cannot change state.
expQueueFailHandlerclass extends expQueueHandlerBaseINI plugin point (extension point), Strategy / handlerextension/expqueue/classes/handlers/expqueuefailhandler.php:16expqueue.fail: fails on purpose, to try retries, backoff, the dead letter and the rate-limit adaptation.
expQueueGroupclass extends eZPersistentObjectActive Record (eZPersistentObject)extension/expqueue/classes/expqueuegroup.php:15A set of jobs that belong together (table expqueue_group): "translate subtree X into ten languages", a package import, a chain run.
expQueueHandlerinterfaceINI plugin point (extension point), Interface (contract), Strategy / handlerextension/expqueue/classes/expqueuehandler.php:27A job handler: the code that runs the jobs of one type.
expQueueHandlerBaseabstract class implements expQueueHandlerStrategy / handler, Template Method / abstract base classextension/expqueue/classes/expqueuehandlerbase.php:12A base for handlers with the optional parts: validate() is called when a job is queued (a wrong payload is refused there and then, not at 3 a.m.
expqueueInfoclassValue object / structextension/expqueue/ezinfo.php:7–
expQueueJobclass extends eZPersistentObjectActive Record (eZPersistentObject)extension/expqueue/classes/expqueuejob.php:25One job (table expqueue_job).
expQueueLockclassUtility (static helper)extension/expqueue/classes/expqueuelock.php:25The dispatcher lock and the queue's directory.
expQueueNoopHandlerclass extends expQueueHandlerBaseINI plugin point (extension point), Strategy / handlerextension/expqueue/classes/handlers/expqueuenoophandler.php:12expqueue.noop: does nothing and is done.
expQueuePermanentExceptionclass extends expQueueExceptionException hierarchyextension/expqueue/classes/expqueuepermanentexception.php:12Thrown by a handler for an error that another attempt cannot fix (invalid input, a refusal, a missing object): the job goes to the dead letter at onc…
expQueueResourceclassUtility (static helper)extension/expqueue/classes/expqueueresource.php:22The concurrency limiter of a resource (table expqueue_resource): a key such as "anthropic:standard" or "imaging" that jobs name with the option resou…
expQueueResultclassFactory and static factory methodsextension/expqueue/classes/expqueueresult.php:18What a handler's run() returns when an array (done) is not enough.
expQueueRetryableExceptionclass extends expQueueExceptionException hierarchyextension/expqueue/classes/expqueueretryableexception.php:13Thrown by a handler for an error that may go away: a timeout, a 429 or 5xx answer, a resource that is busy.
expQueueSchedulerclass–extension/expqueue/classes/expqueuescheduler.php:38Chooses the next job for a worker and leases it to that worker; keeps the queue moving (maintenance).
expQueueSchemaclassUtility (static helper)extension/expqueue/classes/expqueueschema.php:28The tables of expqueue, defined once here in the kernel's generic schema format.
expQueueServiceclassFacade / service, Utility (static helper)extension/expqueue/classes/expqueueservice.php:22The systemd service of the queue's workers: ./console ext:expqueue:service install|start|stop|status|uninstall.
expQueueSleepHandlerclass extends expQueueHandlerBaseINI plugin point (extension point), Strategy / handlerextension/expqueue/classes/handlers/expqueuesleephandler.php:16expqueue.sleep: waits, in steps, reporting progress and honouring a cancel between the steps.
expQueueStatsclassUtility (static helper)extension/expqueue/classes/expqueuestats.php:15The figures of the queue for the dashboard (expqueue/dashboard) and ./console ext:expqueue:status: counts per state, per class and per resource, the…
expQueueWorkerclass–extension/expqueue/classes/expqueueworker.php:24Runs jobs one after another until a limit is reached: the loop of ./console ext:expqueue:work, of the cron part expqueue and of the systemd service.

Module views (5)

ViewScriptPolicy functionsDefined in
/expqueue/dashboarddashboard.phpviewextension/expqueue/modules/expqueue/module.php:14
/expqueue/listlist.phpviewextension/expqueue/modules/expqueue/module.php:20
/expqueue/jobjob.phpviewextension/expqueue/modules/expqueue/module.php:28
/expqueue/groupgroup.phpviewextension/expqueue/modules/expqueue/module.php:34
/expqueue/actionaction.phpmanageextension/expqueue/modules/expqueue/module.php:41

Policy functions (2)

FunctionLimitationsDefined in
expqueue/view–extension/expqueue/modules/expqueue/module.php:48
expqueue/manage–extension/expqueue/modules/expqueue/module.php:49

Cronjob parts (1)

CronjobFileDescription
expqueueextension/expqueue/cronjobs/expqueue.phpThe cron part "expqueue" (php runcronjobs.php -q expqueue, every minute): the default worker of the queue and the safety net next to a systemd servic…

INI plugin points (5)

SettingClassSet in
[AuditEventSettings] Branches[expqueue]expQueueAuditBranchextension/expqueue/settings/audit.ini.append.php:5
[JobType_expqueue.noop] HandlerexpQueueNoopHandlerextension/expqueue/settings/expqueue.ini.append.php:167
[JobType_expqueue.sleep] HandlerexpQueueSleepHandlerextension/expqueue/settings/expqueue.ini.append.php:173
[JobType_expqueue.fail] HandlerexpQueueFailHandlerextension/expqueue/settings/expqueue.ini.append.php:178
[Registry_expqueue_job_types] Entries[Handler]expQueueHandlerextension/expqueue/settings/rad.ini.append.php:21

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x