the number of times an actor is allowed to be restarted, negative value means no limit
duration of the time window for maxNrOfRetries, Duration.Inf means no window
mapping from Throwable to Directive, you can also use a
Seq
of Throwables which maps the given Throwables to restarts, otherwise escalates.
mapping from Throwable to Directive, you can also use a
Seq
of Throwables which maps the given Throwables to restarts, otherwise escalates.
mapping from Throwable to Directive, you can also use a
Seq
of Throwables which maps the given Throwables to restarts, otherwise escalates.
This method is called after the child has been removed from the set of children.
This method is called after the child has been removed from the set of children.
Returns whether it processed the failure or not
Returns whether it processed the failure or not
the number of times an actor is allowed to be restarted, negative value means no limit
This method is called to act on the failure of a child: restart if the flag is true, stop otherwise.
This method is called to act on the failure of a child: restart if the flag is true, stop otherwise.
duration of the time window for maxNrOfRetries, Duration.
duration of the time window for maxNrOfRetries, Duration.Inf means no window
Applies the fault handling
Directive
(Resume, Restart, Stop) specified in theDecider
to the child actor that failed, as opposed to AllForOneStrategy that applies it to all children.the number of times an actor is allowed to be restarted, negative value means no limit
duration of the time window for maxNrOfRetries, Duration.Inf means no window
mapping from Throwable to Directive, you can also use a
Seq
of Throwables which maps the given Throwables to restarts, otherwise escalates.