Module: Delayed
- Defined in:
- lib/delayed/job_launcher.rb,
lib/delayed/job.rb,
lib/delayed/worker.rb,
lib/delayed/message_sending.rb,
lib/delayed/performable_method.rb
Overview
Handle asynchronously launch of jobs, one per grouped value
It needs the following method to be defined:
- name: return the name of the worker
- group_by: return the method to be called to obtain the object
needed to group jobs
- log: log method
Implements the following interface:
- initialize_launcher(Fixnum max_allowed) (Must be called at beginning)
- launch(Delayed::Job job) => bool (launched or not)
- jobs_in_execution => Fixnum
- report_jobs_state => prints info to stdout
- check_thread_sanity => maintenance operation
Defined Under Namespace
Modules: JobLauncher, MessageSending Classes: DeserializationError, EvaledJob, Job, PerformableMethod, Worker
Constant Summary collapse
- HIDE_BACKTRACE =
true