Class: Sidekiq::Queue

Inherits:
Object
  • Object
show all
Extended by:
Forwardable, LimitFetch::Instances
Defined in:
lib/sidekiq/extensions/queue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from LimitFetch::Instances

delete_instance, extended, instances, new, reset_instances!

Instance Attribute Details

#rnameObject (readonly)

Returns the value of attribute rname.



4
5
6
# File 'lib/sidekiq/extensions/queue.rb', line 4

def rname
  @rname
end

Instance Method Details

#lockObject



20
21
22
# File 'lib/sidekiq/extensions/queue.rb', line 20

def lock
  @lock ||= LimitFetch::Global::Semaphore.new name
end