Class: ActiveJob::QueueAdapters::AbstractAdapter
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Inherits: | Object |
Defined in: | activejob/lib/active_job/queue_adapters/abstract_adapter.rb |
Overview
Active Job Abstract Adapter
Active Job supports multiple job queue systems. AbstractAdapter
forms the abstraction layer which makes this possible.
Instance Attribute Summary
Instance Method Summary
Instance Attribute Details
#stopping (rw)
[ GitHub ]# File 'activejob/lib/active_job/queue_adapters/abstract_adapter.rb', line 10
attr_accessor :stopping
#stopping? ⇒ Boolean
(rw)
[ GitHub ]
# File 'activejob/lib/active_job/queue_adapters/abstract_adapter.rb', line 20
def stopping? !!@stopping end
Instance Method Details
#enqueue(job)
# File 'activejob/lib/active_job/queue_adapters/abstract_adapter.rb', line 12
def enqueue(job) raise NotImplementedError end
#enqueue_at(job, timestamp)
# File 'activejob/lib/active_job/queue_adapters/abstract_adapter.rb', line 16
def enqueue_at(job, ) raise NotImplementedError end