Send feedback on this topic.
Teradata.Client.Provider
RecoveryStartInterval Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : RecoveryStartInterval Property
The starting time interval (in seconds) after which an attempt to retry a reconnection is performed.
Syntax
'Declaration
 
Public Property RecoveryStartInterval As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.RecoveryStartInterval = value
 
value = instance.RecoveryStartInterval
public int RecoveryStartInterval {get; set;}
public:
property int RecoveryStartInterval {
   int get();
   void set (    int value);
}
Remarks

The RecoveryStartInterval is used to retry a reconnection that have encountered reconnectable errors. The RecoveryStartInterval is defined as the first time period to wait between unsuccessful efforts to reconnect. It is used to retry reconnection attempts.

The TdConnectionStringBuilder.RecoveryIntervalFactor is used to modify the RecoveryStartInterval after the first retry is attempted, by adding the RecoveryIntervalFactor to the initial delay period. Each successive delay period will be modified by the RecoveryIntervalFactor until the delay period exceeds the TdConnectionStringBuilder.RecoveryMaximumInterval. The RecoveryMaximumInterval is used to set the upper limit on the calculated delay period, until TdConnectionStringBuilder.RecoveryTimeout expires or the reconnection fails.

For example if the RecoveryStartInterval is 2 seconds, the RecoveryMaximumInterval is 16 and the RecoveryIntervalFactor is 2. The delay time between each retry attempt will be calculated as 2, 4, 6, 8, 10 12, 14, 16, 16, 16, etc. If the RecoveryIntervalFactor is 0, the RecoveryStartInterval will be used as the delay period for all retryable attempts, as the RecoveryIntervalFactor will not change the delay period.

Default Value: 2 seconds

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members