Class: Sidekiq::Queue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from LimitFetch::Singleton

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



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

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