C# Class Taskular.Policies.IncrementalRetryPolicy

Inheritance: IRetryPolicy
Mostra file Open project: phatboyg/Taskular

Public Methods

Method Description
CanRetry ( Exception exception ) : bool
GetRetryContext ( ) : IRetryContext
IncrementalRetryPolicy ( IRetryExceptionFilter filter, int retryLimit, System.TimeSpan initialInterval, System.TimeSpan intervalIncrement ) : System

Private Methods

Method Description
GetIntervals ( int retryLimit, System.TimeSpan initialInterval, System.TimeSpan intervalIncrement ) : IEnumerable

Method Details

CanRetry() public method

public CanRetry ( Exception exception ) : bool
exception System.Exception
return bool

GetRetryContext() public method

public GetRetryContext ( ) : IRetryContext
return IRetryContext

IncrementalRetryPolicy() public method

public IncrementalRetryPolicy ( IRetryExceptionFilter filter, int retryLimit, System.TimeSpan initialInterval, System.TimeSpan intervalIncrement ) : System
filter IRetryExceptionFilter
retryLimit int
initialInterval System.TimeSpan
intervalIncrement System.TimeSpan
return System