FaultPolicy
Namespace: MBrace.Core
Fault policy to be applied in a distributed MBrace computation.
Constructors
Constructor | Description |
new()
Signature: unit -> FaultPolicy
|
CompiledName: |
Instance members
Instance member | Description |
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: |
Static members
Static member | Description |
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: |
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. |