proxygen
Retrying.h File Reference

Go to the source code of this file.

Classes

struct  folly::futures::detail::retrying_policy_raw_tag
 
struct  folly::futures::detail::retrying_policy_fut_tag
 
struct  folly::futures::detail::retrying_policy_traits< Policy >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::futures
 
 folly::futures::detail
 

Functions

template<class Policy , class FF >
invoke_result_t< FF, size_t > folly::futures::retrying (Policy &&p, FF &&ff)
 
template<class Policy , class FF , class Prom >
void folly::futures::detail::retryingImpl (size_t k, Policy &&p, FF &&ff, Prom prom)
 
template<class Policy , class FF >
invoke_result_t< FF, size_t > folly::futures::detail::retrying (size_t k, Policy &&p, FF &&ff)
 
template<class Policy , class FF >
invoke_result_t< FF, size_t > folly::futures::detail::retrying (Policy &&p, FF &&ff, retrying_policy_raw_tag)
 
template<class Policy , class FF >
invoke_result_t< FF, size_t > folly::futures::detail::retrying (Policy &&p, FF &&ff, retrying_policy_fut_tag)
 
template<class URNG >
Duration folly::futures::detail::retryingJitteredExponentialBackoffDur (size_t n, Duration backoff_min, Duration backoff_max, double jitter_param, URNG &rng)
 
template<class Policy , class URNG >
std::function< Future< bool >size_t, const exception_wrapper &)> folly::futures::detail::retryingPolicyCappedJitteredExponentialBackoff (size_t max_tries, Duration backoff_min, Duration backoff_max, double jitter_param, URNG &&rng, Policy &&p)
 
template<class Policy , class URNG >
std::function< Future< bool >size_t, const exception_wrapper &)> folly::futures::detail::retryingPolicyCappedJitteredExponentialBackoff (size_t max_tries, Duration backoff_min, Duration backoff_max, double jitter_param, URNG &&rng, Policy &&p, retrying_policy_raw_tag)
 
template<class Policy , class URNG >
std::function< Future< bool >size_t, const exception_wrapper &)> folly::futures::detail::retryingPolicyCappedJitteredExponentialBackoff (size_t max_tries, Duration backoff_min, Duration backoff_max, double jitter_param, URNG &&rng, Policy &&p, retrying_policy_fut_tag)
 
std::function< bool(size_t, const exception_wrapper &)> folly::futures::retryingPolicyBasic (size_t max_tries)
 
template<class Policy , class URNG >
std::function< Future< bool >size_t, const exception_wrapper &)> folly::futures::retryingPolicyCappedJitteredExponentialBackoff (size_t max_tries, Duration backoff_min, Duration backoff_max, double jitter_param, URNG &&rng, Policy &&p)
 
std::function< Future< bool >size_t, const exception_wrapper &)> folly::futures::retryingPolicyCappedJitteredExponentialBackoff (size_t max_tries, Duration backoff_min, Duration backoff_max, double jitter_param)