module Shoryuken::Later

Constants

DEFAULTS
DEFAULT_POLL_DELAY
MAX_QUEUE_DELAY
VERSION

Public Class Methods

default_table() click to toggle source
# File lib/shoryuken/later.rb, line 33
def default_table
  @@default_table
end
default_table=(table) click to toggle source
# File lib/shoryuken/later.rb, line 37
def default_table=(table)
  @@default_table = table
end
logger() click to toggle source
# File lib/shoryuken/later.rb, line 45
def logger
  Shoryuken::Logging.logger
end
options() click to toggle source
# File lib/shoryuken/later.rb, line 25
def options
  @options ||= DEFAULTS.dup.tap{|h| h[:later] = h[:later].dup }
end
poll_delay() click to toggle source
# File lib/shoryuken/later.rb, line 29
def poll_delay
  options[:later][:delay] || DEFAULT_POLL_DELAY
end
tables() click to toggle source
# File lib/shoryuken/later.rb, line 41
def tables
  @@tables
end