Class: MessageQueue::Base
- Inherits:
-
Object
- Object
- MessageQueue::Base
- Defined in:
- lib/message_queue/base.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
- #client ⇒ Object
- #confirm(queue) ⇒ Object
- #delete(queue) ⇒ Object
- #dequeue(queue) ⇒ Object
- #enqueue(queue, data) ⇒ Object
- #flush_all(queue) ⇒ Object
- #queue_size(queue) ⇒ Object
- #stop ⇒ Object
Instance Attribute Details
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
3 4 5 |
# File 'lib/message_queue/base.rb', line 3 def opts @opts end |
Instance Method Details
#client ⇒ Object
9 |
# File 'lib/message_queue/base.rb', line 9 def client; end |
#confirm(queue) ⇒ Object
7 |
# File 'lib/message_queue/base.rb', line 7 def confirm(queue); end |
#delete(queue) ⇒ Object
8 |
# File 'lib/message_queue/base.rb', line 8 def delete(queue); end |
#dequeue(queue) ⇒ Object
6 |
# File 'lib/message_queue/base.rb', line 6 def dequeue(queue); end |
#enqueue(queue, data) ⇒ Object
5 |
# File 'lib/message_queue/base.rb', line 5 def enqueue(queue, data); end |
#flush_all(queue) ⇒ Object
11 |
# File 'lib/message_queue/base.rb', line 11 def flush_all(queue); end |
#queue_size(queue) ⇒ Object
4 |
# File 'lib/message_queue/base.rb', line 4 def queue_size(queue); end |
#stop ⇒ Object
10 |
# File 'lib/message_queue/base.rb', line 10 def stop; end |