MBrace.Core


FaultPolicy

Namespace: MBrace.Core

Fault policy to be applied in a distributed MBrace computation.

Constructors

ConstructorDescription
new()
Signature: unit -> FaultPolicy

CompiledName: .ctor

Instance members

Instance memberDescription
GetFaultRecoveryAction(...)
Signature: (numberOfFaults:int * faultException:exn) -> FaultRecoveryAction
Modifiers: abstract

Decides on the recovery action that should take place using supplied fault data.

Id
Signature: string
Modifiers: abstract

FaultPolicy identifier

CompiledName: get_Id

Static members

Static memberDescription
InfiniteRetries(delay)
Signature: (delay:TimeSpan option) -> FaultPolicy

Forever re-attempt faulted computations.

NoRetry
Signature: FaultPolicy

Makes no attempt at retrying a faulted computation, raising any exception at the first occurrence.

CompiledName: get_NoRetry

WithExponentialDelay(...)
Signature: (maxRetries:int * initialDelay:TimeSpan option) -> FaultPolicy

Retries computation until a given number, using exponentially increasing delay intervals after each fault.

WithMappedDelay(maxRetries, delayF)
Signature: (maxRetries:int * delayF:(int -> TimeSpan)) -> FaultPolicy

Retries with delay mapped to attempt number.

WithMaxRetries(maxRetries, delay)
Signature: (maxRetries:int * delay:TimeSpan option) -> FaultPolicy

Retries at most a given number of times.

Fork me on GitHub