Class: Delayed::Backend::Redis::Job::Failed

Inherits:
Delayed::Backend::Redis::Job show all
Includes:
Base
Defined in:
lib/delayed/backend/redis/job.rb

Constant Summary

Constants included from Base

Base::ON_HOLD_COUNT, Base::ON_HOLD_LOCKED_BY

Constants inherited from Delayed::Backend::Redis::Job

COLUMNS, INTEGER_COLUMNS, TIMESTAMP_COLUMNS, WAITING_STRAND_JOB_PRIORITY

Instance Attribute Summary

Attributes inherited from Delayed::Backend::Redis::Job

#on_conflict, #singleton

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Base

#batch?, #expired?, #failed?, #full_name, #hold!, included, #inferred_max_attempts, #initialize_defaults, #invoke_job, #locked?, #name, #on_hold?, #payload_object, #payload_object=, #permanent_failure, #reschedule, #reschedule_at, #unhold!, #unlock

Methods inherited from Delayed::Backend::Redis::Job

#==, #[], #[]=, bulk_update, clear_locks!, column, create, create!, #create_and_lock!, create_singleton, #destroy, #destroyed?, #fail!, find, find_available, find_one, find_some, functions, get_and_lock_next_available, get_with_ids, #hash, #initialize, instantiate, jobs_count, list_jobs, #lock_in_redis!, #new_record?, reconnect!, running_jobs, #save, #save!, strand_size, tag_counts, #tickle_strand, #transfer_lock!, unlock, #unlock!

Constructor Details

This class inherits a constructor from Delayed::Backend::Redis::Job

Class Method Details

.key_for_job_id(job_id) ⇒ Object


519
520
521
# File 'lib/delayed/backend/redis/job.rb', line 519

def self.key_for_job_id(job_id)
  Keys::FAILED_JOB[job_id]
end

Instance Method Details

#original_job_idObject


523
524
525
# File 'lib/delayed/backend/redis/job.rb', line 523

def original_job_id
  id
end