Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Public Member Functions | List of all members
azure::storage::exponential_retry_policy Class Reference

Represents an exponential retry policy. More...

Inheritance diagram for azure::storage::exponential_retry_policy:
azure::storage::retry_policy

Public Member Functions

 exponential_retry_policy ()
 Initializes a new instance of the azure::storage::exponential_retry_policy class. More...
 
 exponential_retry_policy (std::chrono::seconds delta_backoff, int max_attempts)
 Initializes a new instance of the azure::storage::exponential_retry_policy class. More...
 
- Public Member Functions inherited from azure::storage::retry_policy
 retry_policy ()
 Initializes a new instance of the azure::storage::retry_policy class. More...
 
 retry_policy (std::shared_ptr< basic_retry_policy > ptr)
 Initializes a new instance of the azure::storage::retry_policy class. More...
 
WASTORAGE_API retry_info evaluate (const retry_context &retry_context, operation_context context) override
 
bool is_valid () const
 Indicates whether the azure::storage::retry_policy object is valid. More...
 
retry_policy clone () const override
 Clones the retry policy. More...
 

Detailed Description

Represents an exponential retry policy.

Constructor & Destructor Documentation

◆ exponential_retry_policy() [1/2]

azure::storage::exponential_retry_policy::exponential_retry_policy ( )
inline

Initializes a new instance of the azure::storage::exponential_retry_policy class.

◆ exponential_retry_policy() [2/2]

azure::storage::exponential_retry_policy::exponential_retry_policy ( std::chrono::seconds  delta_backoff,
int  max_attempts 
)
inline

Initializes a new instance of the azure::storage::exponential_retry_policy class.

Parameters
delta_backoffThe delta backoff.
max_attemptsThe maximum number of retries to attempt.