class Sidetiq::Supervisor

Public Class Methods

clock() click to toggle source
# File lib/sidetiq/supervisor.rb, line 20
def clock
  run! if Celluloid::Actor[:sidetiq_clock].nil?
  Celluloid::Actor[:sidetiq_clock]
end
handler() click to toggle source
# File lib/sidetiq/supervisor.rb, line 25
def handler
  run! if Celluloid::Actor[:sidetiq_handler].nil?
  Celluloid::Actor[:sidetiq_handler]
end
run() click to toggle source
# File lib/sidetiq/supervisor.rb, line 36
def run
  raise "Sidetiq::Supervisor should not be run in foreground."
end
run!() click to toggle source
Calls superclass method
# File lib/sidetiq/supervisor.rb, line 30
def run!
  motd
  info "Sidetiq::Supervisor start"
  super
end

Private Class Methods

motd() click to toggle source
# File lib/sidetiq/supervisor.rb, line 42
def motd
  info "Sidetiq v#{VERSION::STRING} - Copyright (c) 2012-2013, Tobias Svensson <tob@tobiassvensson.co.uk>"
  info "Sidetiq is covered by the 3-clause BSD license."
  info "See LICENSE and http://opensource.org/licenses/BSD-3-Clause for licensing details."
end