OneForOneStrategy Constructor (Nullable<(Of <(<'Int32>)>)>, Nullable<(Of <(<'TimeSpan>)>)>, Func<(Of <(<'Exception, Directive>)>)>)
Applies the fault handling `Directive` (Resume, Restart, Stop) specified in the `Decider`
to all children when one fails, as opposed to [[akka.actor.OneForOneStrategy]] that applies
it only to the child actor that failed.
Namespace:
Akka.ActorAssembly: Akka (in Akka.dll)
Syntax
Parameters
- maxNrOfRetries
- Type: Nullable<(Of <(<'Int32>)>)>
the number of times a child actor is allowed to be restarted, negative value means no limit, if the limit is exceeded the child actor is stopped.