abstract class Mosquito::QueuedJob
- Mosquito::QueuedJob
- Mosquito::Job
- Reference
- Object
Defined in:
mosquito/queued_job.crInstance Method Summary
- #enqueue(in delay_interval : Time::Span) : JobRun
- #enqueue(at execute_time : Time) : JobRun
- #enqueue : JobRun
Instance methods inherited from class Mosquito::Job
aborted?(*args, **options)aborted?(*args, **options, &) aborted?, after_hook after_hook, before_hook before_hook, exception : Exception | Nil exception, executed?(*args, **options)
executed?(*args, **options, &) executed?, fail(reason = "") fail, failed?(*args, **options)
failed?(*args, **options, &) failed?, job_run_id : String | Nil job_run_id, job_run_id=(job_run_id : String | Nil) job_run_id=, log(message) log, metadata : Metadata metadata, perform perform, reschedule_interval(retry_count : Int32) : Time::Span reschedule_interval, rescheduleable?(retry_count : Int32) : Bool
rescheduleable? : Bool rescheduleable?, retry_later retry_later, run run, state : Mosquito::Job::State state, succeeded?(*args, **options)
succeeded?(*args, **options, &) succeeded?