Class: EventQ::QueueWorkerContract
- Inherits:
-
Object
- Object
- EventQ::QueueWorkerContract
- Defined in:
- lib/eventq_base/queue_worker_contract.rb
Overview
Contract class for queue workers
Instance Method Summary collapse
- #on_retry_exceeded(&block) ⇒ Object
- #running? ⇒ Boolean
- #start(queue, options = {}, &block) ⇒ Object
- #stop ⇒ Object
Instance Method Details
#on_retry_exceeded(&block) ⇒ Object
13 14 15 |
# File 'lib/eventq_base/queue_worker_contract.rb', line 13 def on_retry_exceeded(&block) end |
#running? ⇒ Boolean
17 18 19 |
# File 'lib/eventq_base/queue_worker_contract.rb', line 17 def running? end |
#start(queue, options = {}, &block) ⇒ Object
5 6 7 |
# File 'lib/eventq_base/queue_worker_contract.rb', line 5 def start(queue, = {}, &block) end |
#stop ⇒ Object
9 10 11 |
# File 'lib/eventq_base/queue_worker_contract.rb', line 9 def stop end |