class SuckerPunch::Counter::Busy

Constants

COUNTER

Attributes

counter[R]

Public Class Methods

clear() click to toggle source
# File lib/sucker_punch/counter.rb, line 26
def self.clear
  COUNTER.clear
end
new(queue_name) click to toggle source
# File lib/sucker_punch/counter.rb, line 30
def initialize(queue_name)
  @counter = COUNTER[queue_name]
end