C# Class Retryable.Database.Sample.SqlConnectionOpenRetryPolicy

Show file Open project: pbolduc/Retry Class Usage Examples

Public Properties

Property Type Description
BackoffIncrement System.TimeSpan
MaxBackoff System.TimeSpan
MinBackoff System.TimeSpan

Public Methods

Method Description
RetryPolicy ( ) : RetryPolicy
SqlConnectionOpenRetryPolicy ( System.TimeSpan retryFor ) : System

Protected Methods

Method Description
DontRetry ( System.TimeSpan &retryInterval ) : bool

Private Methods

Method Description
Oracle ( int retryCount, Exception exception, System.TimeSpan &retryInterval ) : bool

Method Details

DontRetry() protected method

protected DontRetry ( System.TimeSpan &retryInterval ) : bool
retryInterval System.TimeSpan
return bool

RetryPolicy() public method

public RetryPolicy ( ) : RetryPolicy
return RetryPolicy

SqlConnectionOpenRetryPolicy() public method

public SqlConnectionOpenRetryPolicy ( System.TimeSpan retryFor ) : System
retryFor System.TimeSpan
return System

Property Details

BackoffIncrement public static property

public static TimeSpan,System BackoffIncrement
return System.TimeSpan

MaxBackoff public static property

public static TimeSpan,System MaxBackoff
return System.TimeSpan

MinBackoff public static property

public static TimeSpan,System MinBackoff
return System.TimeSpan