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.



7
8
9
# File 'lib/sidekiq/extensions/queue.rb', line 7

def rname
  @rname
end

Instance Method Details

#lockObject



23
24
25
# File 'lib/sidekiq/extensions/queue.rb', line 23

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