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

Represents a retry policy. More...

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

Public Member Functions

 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 retry policy.

Constructor & Destructor Documentation

◆ retry_policy() [1/2]

azure::storage::retry_policy::retry_policy ( )
inline

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

◆ retry_policy() [2/2]

azure::storage::retry_policy::retry_policy ( std::shared_ptr< basic_retry_policy >  ptr)
inlineexplicit

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

Parameters
ptrThe PTR.

Member Function Documentation

◆ clone()

retry_policy azure::storage::retry_policy::clone ( ) const
inlineoverride

Clones the retry policy.

Returns
A cloned azure::storage::retry_policy.

◆ is_valid()

bool azure::storage::retry_policy::is_valid ( ) const
inline

Indicates whether the azure::storage::retry_policy object is valid.

Returns
true if the azure::storage::retry_policy object is valid; otherwise, false.