void reset()
Definition: backoff.h:27
int64_t current
Definition: backoff.h:11
int fails
Definition: backoff.h:12
Backoff(int64_t min, int64_t max)
Definition: backoff.h:18
int64_t maxAmount
Definition: backoff.h:10
time_t time(time_t *timer)
int64_t minAmount
Definition: backoff.h:9
std::mt19937_64 randGenerator
Definition: backoff.h:13
signed __int64 int64_t
Definition: stdint.h:135
double rand01()
Definition: backoff.h:16
int64_t nextDelay()
Definition: backoff.h:33
std::uniform_real_distribution randDistribution
Definition: backoff.h:14
unsigned __int64 uint64_t
Definition: stdint.h:136