enum

Honcho::Strategy

Inherits Enum < Comparable < Value < Object

Constants

ISOLATED = 0

Each child process is treated independently. If a child process crashes, no other child processes are affected.

This is most similar to the one_for_one strategy from erlang's supervisor module.

UNIFIED = 1

All child processes are managed in a unified way, effectively treating all child processes as a single process. If a child process crashes, all other children are killed and restarted appropriately.

This is most similar to the one_for_all strategy from erlang's supervisor module.

Instance methods

isolated?

Returns true if this enum value equals ISOLATED

Source
unified?

Returns true if this enum value equals UNIFIED

Source