Class: ActiveJob::QueueAdapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_job/queue_adapters/abstract_adapter.rb

Overview

Active Job Abstract Adapter

Active Job supports multiple job queue systems. ActiveJob::QueueAdapters::AbstractAdapter forms the abstraction layer which makes this possible.

Instance Method Summary collapse

Instance Method Details

#enqueue(job) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/active_job/queue_adapters/abstract_adapter.rb', line 10

def enqueue(job)
  raise NotImplementedError
end

#enqueue_at(job, timestamp) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/active_job/queue_adapters/abstract_adapter.rb', line 14

def enqueue_at(job, timestamp)
  raise NotImplementedError
end