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++.
|
Represents a set of timeout and retry policy options that may be specified for an operation request. More...
Public Member Functions | |
azure::storage::retry_policy | retry_policy () const |
Gets the retry policy for the request. More... | |
void | set_retry_policy (azure::storage::retry_policy retry_policy) |
Sets the retry policy for the request. More... | |
const std::chrono::seconds | noactivity_timeout () const |
void | set_noactivity_timeout (std::chrono::seconds noactivity_timeout) |
const std::chrono::seconds | server_timeout () const |
Gets the server timeout for the request. More... | |
void | set_server_timeout (std::chrono::seconds server_timeout) |
Sets the server timeout for the request. More... | |
const std::chrono::milliseconds | maximum_execution_time () const |
Gets the maximum execution time across all potential retries. More... | |
void | set_maximum_execution_time (const std::chrono::milliseconds &maximum_execution_time) |
Sets the maximum execution time across all potential retries. More... | |
bool | is_maximum_execution_time_customized () const |
Gets if the maximum execution time is set by customer. More... | |
azure::storage::location_mode | location_mode () const |
Gets the location mode of the request. More... | |
void | set_location_mode (azure::storage::location_mode location_mode) |
Sets the location mode of the request. More... | |
size_t | http_buffer_size () const |
Gets the number of bytes to buffer when reading from and writing to a network stream. More... | |
void | set_http_buffer_size (size_t http_buffer_size) |
Sets the number of bytes to buffer when reading from and writing to a network stream. More... | |
bool | validate_certificates () const |
Gets the server certificate validation property. More... | |
void | set_validate_certificates (bool validate_certificates) |
Sets the server certificate validation property. More... | |
std::chrono::time_point< std::chrono::system_clock > | operation_expiry_time () const |
Gets the expiry time across all potential retries for the request. More... | |
Represents a set of timeout and retry policy options that may be specified for an operation request.
|
inline |
Gets the number of bytes to buffer when reading from and writing to a network stream.
Using a larger buffer size is more efficient when downloading and uploading larger blobs because it will reduce CPU usage.
|
inline |
Gets if the maximum execution time is set by customer.
|
inline |
Gets the location mode of the request.
|
inline |
Gets the maximum execution time across all potential retries.
|
inline |
Gets the expiry time across all potential retries for the request.
|
inline |
Gets the retry policy for the request.
|
inline |
Gets the server timeout for the request.
|
inline |
Sets the number of bytes to buffer when reading from and writing to a network stream.
http_buffer_size | The number of bytes to buffer when reading from and writing to a network stream. |
Using a larger buffer size is more efficient when downloading and uploading larger blobs because it will reduce CPU usage.
|
inline |
Sets the location mode of the request.
location_mode | The location mode of the request. |
|
inline |
Sets the maximum execution time across all potential retries.
maximum_execution_time | The maximum execution time. |
This option will not control the total execution time in async open read/open write operations. It will be set in each underline request of read/write/close operation to make sure those request is finished within this time, or timeout if otherwise.
|
inline |
Sets the retry policy for the request.
retry_policy | The retry policy for the request. |
|
inline |
Sets the server timeout for the request.
server_timeout | The server timeout for the request. |
|
inline |
Sets the server certificate validation property.
validate_certificates | False to disable all server certificate validation, true otherwise. |
Disabling certificate validation is not recommended and will make the user exposed to unsecure environment. Please use with caution and at your own risk.
|
inline |
Gets the server certificate validation property.