MBrace.Runtime


RetryPolicy

Namespace: MBrace.Runtime.Utils
Parent Module: Retry

Union Cases

Union CaseDescription
Policy(int -> exn -> TimeSpan option)
Signature: int -> exn -> TimeSpan option

Static members

Static memberDescription
DelayMap(maxRetries, delayF)
Signature: (maxRetries:int * delayF:(int -> float<MeasureProduct<sec,MeasureOne>>)) -> RetryPolicy

maps delay time w.r.t number of performed retries

ExponentialDelay(...)
Signature: (maxRetries:int * initialDelay:float<MeasureProduct<sec,MeasureOne>>) -> RetryPolicy

doubles the delay interval after every retry

Filter(policy)
Signature: policy:RetryPolicy -> RetryPolicy
Type parameters: 'exn

Performs exception type filtering action on exception before running nested retry policy.

Infinite(delay)
Signature: (delay:float<MeasureProduct<sec,MeasureOne>> option) -> RetryPolicy

performs infinitely many retries until operation succeeds

NoRetry
Signature: RetryPolicy

Policy that performs no retries

CompiledName: get_NoRetry

Retry(maxRetries, delay)
Signature: (maxRetries:int option * delay:float<MeasureProduct<sec,MeasureOne>> option) -> RetryPolicy

performs given number of retries

Fork me on GitHub