| BackoffSupervisorProps Method (Props, String, TimeSpan, TimeSpan, Double) |
Namespace:
Akka.Pattern
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Props Props(
Props childProps,
string childName,
TimeSpan minBackoff,
TimeSpan maxBackoff,
double randomFactor
)
static member Props :
childProps : Props *
childName : string *
minBackoff : TimeSpan *
maxBackoff : TimeSpan *
randomFactor : float -> 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`.
Return Value
Type:
Props[Missing <returns> documentation for "M:Akka.Pattern.BackoffSupervisor.Props(Akka.Actor.Props,System.String,System.TimeSpan,System.TimeSpan,System.Double)"]
See Also