abstract class ApplicationJob
- ApplicationJob
- Mosquito::QueuedJob
- Mosquito::Job
- Reference
- Object
Overview
Base class for jobs in the app. Overrides #perform
so that jobs can
implement trace_perform
instead. This will allow for OpenTelemetry tracing
if available, otherwise the job will be executed as it would if it overrides
#perform
(mosquito standard). If someone does override #perform
on the job
it will also have no behavior effect, other than tracing not taking place.
Direct Known Subclasses
Defined in:
jobs/application_job.crClass Method Summary
-
.job_name
Base class for jobs in the app.
Instance Method Summary
-
#build_job_run
Base class for jobs in the app.
-
#perform
abstract, override in a Job descendant to do something productive
Macro Summary
-
params(*parameters)
Base class for jobs in the app.
Class Method Detail
Base class for jobs in the app. Overrides #perform
so that jobs can
implement trace_perform
instead. This will allow for OpenTelemetry tracing
if available, otherwise the job will be executed as it would if it overrides
#perform
(mosquito standard). If someone does override #perform
on the job
it will also have no behavior effect, other than tracing not taking place.
Instance Method Detail
Base class for jobs in the app. Overrides #perform
so that jobs can
implement trace_perform
instead. This will allow for OpenTelemetry tracing
if available, otherwise the job will be executed as it would if it overrides
#perform
(mosquito standard). If someone does override #perform
on the job
it will also have no behavior effect, other than tracing not taking place.
abstract, override in a Job descendant to do something productive
Macro Detail
Base class for jobs in the app. Overrides #perform
so that jobs can
implement trace_perform
instead. This will allow for OpenTelemetry tracing
if available, otherwise the job will be executed as it would if it overrides
#perform
(mosquito standard). If someone does override #perform
on the job
it will also have no behavior effect, other than tracing not taking place.