Class: Qu::Backend::Immediate
- Inherits:
-
Base
- Object
- Base
- Qu::Backend::Immediate
show all
- Defined in:
- lib/qu/backend/immediate.rb
Instance Attribute Summary
Attributes inherited from Base
#connection
Instance Method Summary
collapse
Methods included from Logger
#clean_backtrace, #log_exception, #logger
Instance Method Details
#clear ⇒ Object
23
24
|
# File 'lib/qu/backend/immediate.rb', line 23
def clear(*)
end
|
#completed(payload) ⇒ Object
8
9
|
# File 'lib/qu/backend/immediate.rb', line 8
def completed(payload)
end
|
#connection= ⇒ Object
26
27
|
# File 'lib/qu/backend/immediate.rb', line 26
def connection=(*)
end
|
#enqueue(payload) ⇒ Object
4
5
6
|
# File 'lib/qu/backend/immediate.rb', line 4
def enqueue(payload)
payload.perform
end
|
#failed(payload, error) ⇒ Object
14
15
|
# File 'lib/qu/backend/immediate.rb', line 14
def failed(payload, error)
end
|
#length ⇒ Object
32
33
34
|
# File 'lib/qu/backend/immediate.rb', line 32
def length(*)
0
end
|
#queues ⇒ Object
36
37
38
|
# File 'lib/qu/backend/immediate.rb', line 36
def queues(*)
["default"]
end
|
#register_worker ⇒ Object
17
18
|
# File 'lib/qu/backend/immediate.rb', line 17
def register_worker(*)
end
|
#release(payload) ⇒ Object
11
12
|
# File 'lib/qu/backend/immediate.rb', line 11
def release(payload)
end
|
#reserve ⇒ Object
29
30
|
# File 'lib/qu/backend/immediate.rb', line 29
def reserve(*)
end
|
#unregister_worker ⇒ Object
20
21
|
# File 'lib/qu/backend/immediate.rb', line 20
def unregister_worker(*)
end
|