MongoDB C++ Driver  legacy-1.1.2
Public Member Functions | List of all members
mongo::Backoff Class Reference

Public Member Functions

int getNextSleepMillis (int lastSleepMillis, unsigned long long currTimeMillis, unsigned long long lastErrorTimeMillis) const
 testing-only function. More...
 

Member Function Documentation

int mongo::Backoff::getNextSleepMillis ( int  lastSleepMillis,
unsigned long long  currTimeMillis,
unsigned long long  lastErrorTimeMillis 
) const

testing-only function.

used in dbtests/basictests.cpp


The documentation for this class was generated from the following file: