| BackoffSupervisorPropsWithSupervisorStrategy Method |
Namespace:
Akka.Pattern
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Props PropsWithSupervisorStrategy(
Props childProps,
string childName,
TimeSpan minBackoff,
TimeSpan maxBackoff,
double randomFactor,
SupervisorStrategy strategy
)
static member PropsWithSupervisorStrategy :
childProps : Props *
childName : string *
minBackoff : TimeSpan *
maxBackoff : TimeSpan *
randomFactor : float *
strategy : SupervisorStrategy -> Props
Parameters
- childProps
- Type: Akka.ActorProps
The Props of the child actor that will be started and supervised - childName
- Type: SystemString
Name of the child actor - minBackoff
- Type: SystemTimeSpan
Minimum (initial) duration until the child actor will started again, if it is terminated - maxBackoff
- Type: SystemTimeSpan
The exponential back-off is capped to this duration - randomFactor
- Type: SystemDouble
After calculation of the exponential back-off an additional random delay based on this factor is added, e.g. `0.2` adds up to `20%` delay. In order to skip this additional delay pass in `0`. - strategy
- Type: Akka.ActorSupervisorStrategy
The supervision strategy to use for handling exceptions in the child
Return Value
Type:
Props[Missing <returns> documentation for "M:Akka.Pattern.BackoffSupervisor.PropsWithSupervisorStrategy(Akka.Actor.Props,System.String,System.TimeSpan,System.TimeSpan,System.Double,Akka.Actor.SupervisorStrategy)"]
See Also