MongoDB  2.7.0
Public Member Functions | List of all members
mongo::ProgressMeter Class Reference
Inheritance diagram for mongo::ProgressMeter:

Public Member Functions

 ProgressMeter (unsigned long long total, int secondsBetween=3, int checkInterval=100, std::string units="", std::string name="Progress")
void reset (unsigned long long total, int secondsBetween=3, int checkInterval=100)
void finished ()
bool isActive () const
bool hit (int n=1)
void setUnits (const std::string &units)
std::string getUnit () const
void setName (std::string name)
std::string getName () const
void setTotalWhileRunning (unsigned long long total)
unsigned long long done () const
unsigned long long hits () const
unsigned long long total () const
void showTotal (bool doShow)
std::string toString () const
bool operator== (const ProgressMeter &other) const

Member Function Documentation

bool mongo::ProgressMeter::hit ( int  n = 1)
nhow far along we are relative to the total # we set in CurOp::setMessage
if row was printed

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