Click or drag to resize
ILeasedRetry Interface
Allows an operation to be run inside a lease block ensuring that the operation will never happen in parallel even in a multi-thread / multi-server environment.

Namespace: AccidentalFish.ApplicationSupport.Core.Policies
Assembly: AccidentalFish.ApplicationSupport.Core (in AccidentalFish.ApplicationSupport.Core.dll) Version: 1.0.4.0 (1.0.4.0)
Syntax
public interface ILeasedRetry
Methods
  NameDescription
Public methodRetryAsyncT(ILeaseManagerT, T, FuncTask)
Attempt to run an operation inside a lease block with upto 10 retries and a window of 30 seconds before the lease expires. The lease object (blob) must already exist before this method is called.
Public methodRetryAsyncT(ILeaseManagerT, T, Boolean, FuncTask)
Attempt to run an operation inside a lease block with upto 10 retries and a window of 30 seconds before the lease expires.
Public methodRetryAsyncT(ILeaseManagerT, T, TimeSpan, FuncTask)
Attempt to run an operation inside a lease block with upto 10 retries. The lease object (blob) must already exist before this method is called.
Public methodRetryAsyncT(ILeaseManagerT, T, TimeSpan, Boolean, FuncTask)
Attempt to run an operation inside a lease block with upto 10 retries.
Public methodRetryAsyncT(ILeaseManagerT, T, TimeSpan, Int32, FuncTask)
Attempt to run an operation inside a lease block. The lease object (blob) must already exist before this method is called.
Public methodRetryAsyncT(ILeaseManagerT, T, TimeSpan, Int32, Boolean, FuncTask)
Attempt to run an operation inside a lease block. The lease object (blob) must already exist before this method is called.
Top
See Also