diff options
author | Jerry D'Antonio <stumpjumper@gmail.com> | 2015-08-15 23:41:33 -0400 |
---|---|---|
committer | Jerry D'Antonio <stumpjumper@gmail.com> | 2015-08-25 14:22:11 -0400 |
commit | 25a4155257cd463355bccb4330b0280e4110de9e (patch) | |
tree | b58198818bb9ceadb4932e56f7c89c8b648ab4fb /activejob/lib/active_job/queue_adapters.rb | |
parent | e6629257f4aecfa53fd1a1a2eae34aa33f637d79 (diff) | |
download | rails-25a4155257cd463355bccb4330b0280e4110de9e.tar.gz rails-25a4155257cd463355bccb4330b0280e4110de9e.tar.bz2 rails-25a4155257cd463355bccb4330b0280e4110de9e.zip |
Initial implementation of ActiveJob AsyncAdapter.
Diffstat (limited to 'activejob/lib/active_job/queue_adapters.rb')
-rw-r--r-- | activejob/lib/active_job/queue_adapters.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activejob/lib/active_job/queue_adapters.rb b/activejob/lib/active_job/queue_adapters.rb index e8ceabaeba..aeb1fe1e73 100644 --- a/activejob/lib/active_job/queue_adapters.rb +++ b/activejob/lib/active_job/queue_adapters.rb @@ -12,6 +12,8 @@ module ActiveJob # * {Sidekiq}[http://sidekiq.org] # * {Sneakers}[https://github.com/jondot/sneakers] # * {Sucker Punch}[https://github.com/brandonhilkert/sucker_punch] + # * {Active Job Async Job}[http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters/AsyncAdapter.html] + # * {Active Job Inline}[http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters/InlineAdapter.html] # # === Backends Features # @@ -26,6 +28,7 @@ module ActiveJob # | Sidekiq | Yes | Yes | Yes | Queue | No | Job | # | Sneakers | Yes | Yes | No | Queue | Queue | No | # | Sucker Punch | Yes | Yes | No | No | No | No | + # | Active Job Async | Yes | Yes | Yes | No | No | No | # | Active Job Inline | No | Yes | N/A | N/A | N/A | N/A | # # ==== Async @@ -96,9 +99,15 @@ module ActiveJob # # N/A: The adapter does not run in a separate process, and therefore doesn't # support retries. + # + # === Async and Inline Queue Adapters + # + # Active Job has two built-in queue adapters intended for development and + # testing: +:async+ and +:inline+. module QueueAdapters extend ActiveSupport::Autoload + autoload :AsyncAdapter autoload :InlineAdapter autoload :BackburnerAdapter autoload :DelayedJobAdapter |