class SidekiqRobustJob
Public Class Methods
configuration()
click to toggle source
# File lib/sidekiq_robust_job.rb, line 28 def self.configuration @configuration ||= SidekiqRobustJob::Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/sidekiq_robust_job.rb, line 32 def self.configure yield configuration end
perform(job_id)
click to toggle source
# File lib/sidekiq_robust_job.rb, line 52 def self.perform(job_id) sidekiq_job_manager.perform(job_id) end
perform_async(job_class, *arguments)
click to toggle source
# File lib/sidekiq_robust_job.rb, line 36 def self.perform_async(job_class, *arguments) sidekiq_job_manager.perform_async(job_class, *arguments) end
perform_at(job_class, interval, *arguments)
click to toggle source
# File lib/sidekiq_robust_job.rb, line 44 def self.perform_at(job_class, interval, *arguments) sidekiq_job_manager.perform_at(job_class, interval, *arguments) end
perform_in(job_class, interval, *arguments)
click to toggle source
# File lib/sidekiq_robust_job.rb, line 40 def self.perform_in(job_class, interval, *arguments) sidekiq_job_manager.perform_in(job_class, interval, *arguments) end
schedule_missed_jobs_handling()
click to toggle source
# File lib/sidekiq_robust_job.rb, line 56 def self.schedule_missed_jobs_handling SidekiqRobustJob::DependenciesContainer["missed_jobs_scheduler"].schedule end
set(job_class, options)
click to toggle source
# File lib/sidekiq_robust_job.rb, line 48 def self.set(job_class, options) sidekiq_job_manager.set(job_class, options) end
Private Class Methods
sidekiq_job_manager()
click to toggle source
# File lib/sidekiq_robust_job.rb, line 60 def self.sidekiq_job_manager SidekiqRobustJob::DependenciesContainer["sidekiq_job_manager"] end