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::linear_retry_policy Class Reference

Represents a linear retry policy. More...

Inheritance diagram for azure::storage::linear_retry_policy:
azure::storage::retry_policy

Public Member Functions

 linear_retry_policy ()
 Initializes a new instance of the azure::storage::linear_retry_policy class. More...
 
 linear_retry_policy (std::chrono::seconds delta_backoff, int max_attempts)
 Initializes a new instance of the azure::storage::linear_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 a linear retry policy.

Constructor & Destructor Documentation

◆ linear_retry_policy() [1/2]

azure::storage::linear_retry_policy::linear_retry_policy ( )
inline

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

◆ linear_retry_policy() [2/2]

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

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

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