Show / Hide Table of Contents

Class RetryConfiguration

The retry configuration for HTTP client to send HTTP requests.

Inheritance
object
WaiterConfiguration
RetryConfiguration
Inherited Members
WaiterConfiguration.MaxAttempts
WaiterConfiguration.GetNextDelayInSeconds
WaiterConfiguration.DefaultWaiterConfiguration
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common.Retry
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class RetryConfiguration : WaiterConfiguration

Fields

DefaultRetryConfiguration

Declaration
public static RetryConfiguration DefaultRetryConfiguration
Field Value
Type Description
RetryConfiguration

RETRYABLE_ERRORS

The collection of errors that can be retried. Providing an empty string "" means that the status code would be retried regardless of the Error code.

Declaration
public static readonly ReadOnlyCollection<Tuple<int, string>> RETRYABLE_ERRORS
Field Value
Type Description
ReadOnlyCollection<Tuple<int, string>>

RETRYABLE_STATUSCODE_FAMILY

The collection of status codes families (first digit) that can be retried.

Declaration
public static readonly ReadOnlyCollection<int> RETRYABLE_STATUSCODE_FAMILY
Field Value
Type Description
ReadOnlyCollection<int>

isDefaultRetryEnabled

Declaration
public static readonly bool isDefaultRetryEnabled
Field Value
Type Description
bool

Properties

RetryableErrors

The collection of errors that can be retried.

Declaration
public Collection<Tuple<int, string>> RetryableErrors { get; set; }
Property Value
Type Description
Collection<Tuple<int, string>>

RetryableStatusCodeFamilies

The collection of status codes families (first digit) that can be retried.

Declaration
public List<int> RetryableStatusCodeFamilies { get; set; }
Property Value
Type Description
List<int>

TotalElapsedTimeInSecs

The total elapsed time allowed for reties.

Declaration
public int TotalElapsedTimeInSecs { get; set; }
Property Value
Type Description
int
In this article
Back to top