Class: Sidekiq::Queue
- Inherits:
-
Object
- Object
- Sidekiq::Queue
- Extended by:
- Forwardable, LimitFetch::Instances
- Defined in:
- lib/sidekiq/extensions/queue.rb
Instance Attribute Summary collapse
-
#rname ⇒ Object
readonly
Returns the value of attribute rname.
Instance Method Summary collapse
Methods included from LimitFetch::Instances
delete_instance, extended, instances, new, reset_instances!
Instance Attribute Details
#rname ⇒ Object (readonly)
Returns the value of attribute rname.
7 8 9 |
# File 'lib/sidekiq/extensions/queue.rb', line 7 def rname @rname end |
Instance Method Details
#lock ⇒ Object
23 24 25 |
# File 'lib/sidekiq/extensions/queue.rb', line 23 def lock @lock ||= LimitFetch::Global::Semaphore.new name end |