Active Job 抽象适配器¶ ↑
Active Job 支持多种作业队列系统。 ActiveJob::QueueAdapters::AbstractAdapter 构成了实现这一点的抽象层。
方法
- E
- S
Attributes
| [RW] | stopping |
实例公共方法
enqueue(job) 链接
来源: 显示 | 在 GitHub 上
# File activejob/lib/active_job/queue_adapters/abstract_adapter.rb, line 12 def enqueue(job) raise NotImplementedError end
enqueue_at(job, timestamp) 链接
来源: 显示 | 在 GitHub 上
# File activejob/lib/active_job/queue_adapters/abstract_adapter.rb, line 16 def enqueue_at(job, timestamp) raise NotImplementedError end
stopping?() 链接
来源: 显示 | 在 GitHub 上
# File activejob/lib/active_job/queue_adapters/abstract_adapter.rb, line 20 def stopping? !!@stopping end