SupervisorStrategy Fields |
The SupervisorStrategy type exposes the following members.
Name | Description | |
---|---|---|
DefaultDecider |
When supervisorStrategy is not specified for an actor this
Decider is used by default in the supervisor strategy.
The child will be stopped when ActorInitializationException,
ActorKilledException, or DeathPactException is
thrown. It will be restarted for other `Exception` types.
The error is escalated if it's a `Exception`, i.e. `Error`.
| |
DefaultStrategy |
When supervisorStrategy is not specified for an actor this
is used by default. OneForOneStrategy with decider defined in
DefaultDecider.
| |
StoppingStrategy |
This strategy resembles Erlang in that failing children are always
terminated (one-for-one).
|