Class: Dolphin::Manager

Inherits:
Celluloid::SupervisionGroup
  • Object
show all
Includes:
Util
Defined in:
lib/dolphin/manager.rb

Instance Method Summary collapse

Methods included from Util

#logger

Instance Method Details

#actor_died(actor, reason) ⇒ Object



11
12
13
14
15
# File 'lib/dolphin/manager.rb', line 11

def actor_died(actor, reason)
  logger :info, "Actor died"
  restart_actor(actor, "Breaked actor")
  logger :info, "Actor restarted"
end

#run_request_handlersObject



29
30
# File 'lib/dolphin/manager.rb', line 29

def run_request_handlers
end

#run_workersObject



23
24
# File 'lib/dolphin/manager.rb', line 23

def run_workers
end

#shutdownObject



20
21
# File 'lib/dolphin/manager.rb', line 20

def shutdown
end

#startObject



17
18
# File 'lib/dolphin/manager.rb', line 17

def start
end

#terminate_request_handlersObject



32
33
# File 'lib/dolphin/manager.rb', line 32

def terminate_request_handlers
end

#terminate_workersObject



26
27
# File 'lib/dolphin/manager.rb', line 26

def terminate_workers
end