<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

kCura.Data.RowDataGateway.QueryRetrySettings

public class QueryRetrySettings
Contains retry count and wait duration settings for errors encountered while executing SQL statements.
public QueryRetrySettings(Func<int> totalRetryAttempts, Func<int> baseWaitDurationMilliseconds)

Creates a QueryRetrySettings with the provided values.

public bool CanRetry()

Checks if the provided configuration is accessible.

public TimeSpan GetBackoffDuration(int currentTry)

Returns the calculated backoff duration for the provided attempt number.

public int GetRetryCount()

Returns the configured number of retry attempts.

Calculates the total wait duration if all retry attempts are used.