#include <counters.h>
Public Member Functions | |
GenericCounter () | |
BSONObj | getObj () |
void | hit (const string &name, int count=0) |
Private Attributes | |
map< string, long long > | _counts |
mongo::mutex | _mutex |
Definition at line 130 of file counters.h.
mongo::GenericCounter::GenericCounter | ( | ) | [inline] |
Definition at line 132 of file counters.h.
BSONObj mongo::GenericCounter::getObj | ( | ) |
void mongo::GenericCounter::hit | ( | const string & | name, | |
int | count = 0 | |||
) |
map<string,long long> mongo::GenericCounter::_counts [private] |
Definition at line 136 of file counters.h.
mongo::mutex mongo::GenericCounter::_mutex [private] |
Definition at line 137 of file counters.h.