Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure.
Discards the old Actor instance and replaces it with a new, then resumes message processing.
Resumes message processing for the failed Actor
Stops the Actor
When supervisorStrategy is not specified for an actor this is used by default.
When supervisorStrategy is not specified for an actor this
is used by default. The child will be stopped when
akka.ActorInitializationException or akka.ActorKilledException
is thrown. It will be restarted for other Exception
types.
The error is escalated if it's a Throwable
, i.e. Error
.
Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure.
Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure. Java API
Decider builder for Iterables of cause-directive pairs, e.
Decider builder for Iterables of cause-directive pairs, e.g. a map obtained from configuration; will sort the pairs so that the most specific type is checked before all its subtypes, allowing carving out subtrees of the Throwable hierarchy.
Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.
Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.
Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.
Discards the old Actor instance and replaces it with a new, then resumes message processing.
Discards the old Actor instance and replaces it with a new, then resumes message processing. Java API
Resumes message processing for the failed Actor Java API
Implicit conversion from Seq
of Cause-Directive pairs to a Decider
.
Implicit conversion from Seq
of Cause-Directive pairs to a Decider
. See makeDecider(causeDirective).
Implicit conversion from Seq
of Throwables to a Decider
.
Implicit conversion from Seq
of Throwables to a Decider
.
This maps the given Throwables to restarts, otherwise escalates.
Stops the Actor Java API
Sort so that subtypes always precede their supertypes, but without obeying any order between unrelated subtypes (insert sort).
Sort so that subtypes always precede their supertypes, but without obeying any order between unrelated subtypes (insert sort).
(Since version 2.0.2) Will become private[akka] in 2.1, this is not user-api