Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
Go to the source code of this file.
Classes | |
class | best_effort_retry_strategy |
Namespaces | |
namespace | couchbase |
Represents a single item from the result of collection::scan() | |
Typedefs | |
using | backoff_calculator = std::function<std::chrono::milliseconds(std::size_t retry_attempts)> |
Functions | |
auto | controlled_backoff (std::size_t retry_attempts) -> std::chrono::milliseconds |
calculates a backoff time duration from the retry attempts on a given request. | |
auto | exponential_backoff (std::chrono::milliseconds min_backoff, std::chrono::milliseconds max_backoff, double backoff_factor) -> backoff_calculator |
calculates a backoff time duration from the retry attempts on a given request. | |
auto | make_best_effort_retry_strategy (backoff_calculator calculator=controlled_backoff) -> std::shared_ptr< best_effort_retry_strategy > |