Class Retrier
An implementaion of a retrier class.
Inherited Members
Namespace: Oci.Common.Retry
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class Retrier
Constructors
Retrier()
Declaration
public Retrier()
Methods
GetPreferredRetrier(RetryConfiguration, RetryConfiguration)
Returns a generic retrier.
If request level retry configuration is sepcified, return a generic retrier for it;
or if a client level retry configuration is specified, return a generic retrier for it;
if none of them is specified, return null.
Declaration
public static GenericRetrier GetPreferredRetrier(RetryConfiguration requestLevelRetry, RetryConfiguration clientLevelRetry)
Parameters
Type | Name | Description |
---|---|---|
RetryConfiguration | requestLevelRetry | A retry configuration at request level. |
RetryConfiguration | clientLevelRetry | A retry configuration at client level. |
Returns
Type | Description |
---|---|
GenericRetrier | A generic retrier, or null if no retry configuration is provided. |