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++.
|
Specifies parameters for the next retry of a request to be made against the Windows Azure storage services, including the target location and location mode for the next retry and the interval until the next retry. More...
Public Member Functions | |
retry_info () | |
Initializes a new instance of the azure::storage::retry_info class. More... | |
retry_info (const retry_context &context) | |
Initializes a new instance of the azure::storage::retry_info class. More... | |
bool | should_retry () const |
Indicates that the request should be retried. More... | |
storage_location | target_location () const |
Gets the target location for the next retry. More... | |
void | set_target_location (storage_location value) |
Sets the target location for the next retry. More... | |
location_mode | updated_location_mode () const |
Gets the location mode for subsequent retries. More... | |
void | set_updated_location_mode (location_mode value) |
Sets the location mode for subsequent retries. More... | |
std::chrono::milliseconds | retry_interval () const |
Gets the interval until the next retry. More... | |
void | set_retry_interval (std::chrono::milliseconds value) |
Sets the interval until the next retry. More... | |
Specifies parameters for the next retry of a request to be made against the Windows Azure storage services, including the target location and location mode for the next retry and the interval until the next retry.
|
inline |
Initializes a new instance of the azure::storage::retry_info class.
|
inlineexplicit |
Initializes a new instance of the azure::storage::retry_info class.
context | The azure::storage::retry_context object that was passed in to the retry policy. |
|
inline |
Gets the interval until the next retry.
|
inline |
Sets the interval until the next retry.
value | The interval until the next retry. |
|
inline |
Sets the target location for the next retry.
value | The target location for the next retry. |
|
inline |
Sets the location mode for subsequent retries.
value | The location mode for subsequent retries. |
|
inline |
Indicates that the request should be retried.
true
if the request should be retried.
|
inline |
Gets the target location for the next retry.
|
inline |
Gets the location mode for subsequent retries.