class Sidekiq::Job
- Sidekiq::Job
- Reference
- Object
Overview
The Job class handles the internal business of converting to/from JSON. In a statically-typed language, this is a bit of a chore.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Defined in:
sidekiq/job.crConstructors
Class Method Summary
Instance Method Summary
- #_perform(args : String)
-
#_perform_at(time : Time, args : String)
Run this job at or after the given instant in Time
- #_perform_bulk(args : Array(String))
-
#_perform_in(interval : Time::Span, args : String)
Run this job +interval+ from now.
- #args : String
- #args=(args : String)
- #at : Time | Nil
- #at=(at : Time | Nil)
- #backtrace : Bool | Int32 | Nil
- #backtrace=(backtrace : Bool | Int32 | Nil)
- #bid : String | Nil
- #bid=(bid : String | Nil)
- #client
- #client=(cl : Sidekiq::Client)
- #created_at : Time
- #dead=(dead : Bool)
- #dead? : Bool
- #enqueued_at : Time | Nil
- #enqueued_at=(enqueued_at : Time | Nil)
- #error_backtrace : Array(String) | Nil
- #error_backtrace=(error_backtrace : Array(String) | Nil)
- #error_class : String | Nil
- #error_class=(error_class : String | Nil)
- #error_message : String | Nil
- #error_message=(error_message : String | Nil)
- #execute(ctx : Sidekiq::Context)
- #extra_params : Hash(String, JSON::Any)
- #extra_params=(value : Hash(String, JSON::Any))
- #failed_at : Time | Nil
- #failed_at=(failed_at : Time | Nil)
- #jid : String
- #jid=(jid : String)
- #klass : String
- #klass=(klass : String)
- #queue : String
- #queue=(queue : String)
- #retried_at : Time | Nil
- #retried_at=(retried_at : Time | Nil)
- #retry : Bool | Int32
- #retry=(retry : Bool | Int32)
- #retry_count : Int32
- #retry_count=(retry_count : Int32)