123456789_123456789_123456789_123456789_123456789_

Class: ActiveJob::QueueAdapters::AbstractAdapter

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)

Raises:

  • (NotImplementedError)
[ GitHub ]

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

def enqueue(job)
  raise NotImplementedError
end

#enqueue_at(job, timestamp)

Raises:

  • (NotImplementedError)
[ GitHub ]

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

def enqueue_at(job, timestamp)
  raise NotImplementedError
end