Module: Celluloid::Supervision

Defined in:
lib/celluloid/supervision/container.rb,
lib/celluloid/supervision/service.rb,
lib/celluloid/supervision/version.rb,
lib/celluloid/supervision/constants.rb,
lib/celluloid/supervision/supervise.rb,
lib/celluloid/supervision/validation.rb,
lib/celluloid/supervision/configuration.rb,
lib/celluloid/supervision/container/pool.rb,
lib/celluloid/supervision/container/behavior.rb,
lib/celluloid/supervision/container/instance.rb,
lib/celluloid/supervision/container/injections.rb,
lib/celluloid/supervision/configuration/instance.rb,
lib/celluloid/supervision/container/behavior/pool.rb,
lib/celluloid/supervision/container/behavior/tree.rb,
lib/celluloid/supervision/configuration/injections.rb

Overview

Supervise collections of actors as a group

Defined Under Namespace

Modules: Error, Service Classes: Configuration, Container

Constant Summary collapse

VERSION =
"0.20.6".freeze
INSTANCE_RETRY_WAIT =

TODO: Do not hard-code. Allow configurable values.

3
INSTANCE_RETRY_LIMIT =
5

Class Method Summary collapse

Class Method Details

.router(_config = {}) ⇒ Object


16
17
18
19
# File 'lib/celluloid/supervision/supervise.rb', line 16

def router(_config = {})
  # TODO: Actually route.
  Celluloid.services # for now, hardcode .services
end