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 the proposed duration of seconds that the lease should continue before it is broken. More...
Public Member Functions | |
lease_break_period () | |
Initializes a new instance of the azure::storage::lease_break_period class that breaks a fixed-duration lease after the remaining lease period elapses, or breaks an infinite lease immediately. More... | |
lease_break_period (const std::chrono::seconds &seconds) | |
Initializes a new instance of the azure::storage::lease_break_period class that breaks a lease after the proposed duration. More... | |
bool | is_valid () const |
Indicates whether the azure::storage::lease_break_period object is valid. More... | |
const std::chrono::seconds & | seconds () const |
Gets the proposed duration for the lease before it is broken. More... | |
Specifies the proposed duration of seconds that the lease should continue before it is broken.
|
inline |
Initializes a new instance of the azure::storage::lease_break_period class that breaks a fixed-duration lease after the remaining lease period elapses, or breaks an infinite lease immediately.
|
inline |
Initializes a new instance of the azure::storage::lease_break_period class that breaks a lease after the proposed duration.
seconds | The proposed duration, in seconds, for the lease before it is broken. Value may be between 0 and 60 seconds. |
|
inline |
Indicates whether the azure::storage::lease_break_period object is valid.
true
if the azure::storage::lease_break_period object is valid; otherwise, false
.
|
inline |
Gets the proposed duration for the lease before it is broken.