Class: EventQ::QueueWorkerContract

Inherits:
Object
  • Object
show all
Defined in:
lib/eventq_base/queue_worker_contract.rb

Overview

Contract class for queue workers

Instance Method Summary collapse

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

Returns:

  • (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, options = {}, &block)

end

#stopObject



9
10
11
# File 'lib/eventq_base/queue_worker_contract.rb', line 9

def stop

end