RetryOptions Class
Retry Options.
Defines retry policies that can be passed as parameters to various operations.
Constructor
RetryOptions(first_retry_interval_in_milliseconds: int, max_number_of_attempts: int)
Parameters
Name | Description |
---|---|
first_retry_interval_in_milliseconds
Required
|
|
max_number_of_attempts
Required
|
|
Methods
to_json |
Convert object into a json dictionary. |
to_json
Attributes
first_retry_interval_in_milliseconds
Get the first retry interval (ms).
Must be greater than 0
Returns
Type | Description |
---|---|
The value indicating the first retry interval |
max_number_of_attempts
Get Max Number of Attempts.
Returns
Type | Description |
---|---|
Value indicating the max number of attempts to retry |